Feb 03, 2010, 8:14 AM
[CLOSED] Call client function on image button press
Hi,
I have the following code to load a page when the image button "ImageButtonMenusOffice" is pressed. I need to keep the the image "btnMenusProfile_on.png" after the button is pressed and call to a client method to do somthing else after the button is pressed and the pages is loaded:
Could you please give an idea about how to do want I want?
I have the following code to load a page when the image button "ImageButtonMenusOffice" is pressed. I need to keep the the image "btnMenusProfile_on.png" after the button is pressed and call to a client method to do somthing else after the button is pressed and the pages is loaded:
Could you please give an idea about how to do want I want?
<ext:ImageButton
ID="ImageButtonMenusOffice"
Cls="buttonLink"
runat="server"
StyleSpec="position:relative; display:block; top:10px; left:5px;"
ImageUrl="~/App_Themes/ChampWeb/Images/btnMenusOffice.png"
OverImageUrl="~/App_Themes/ChampWeb/Images/btnMenusOffice_press.png"
PressedImageUrl="~/App_Themes/ChampWeb/Images/btnMenusProfile_on.png">
<Listeners>
<Click Handler="#{Panel2}.load({url: './DoctorNedOffice.aspx', mode:'iframe'});" />
</Listeners>
</ext:ImageButton>