[CLOSED] Call client function on image button press

  1. #1

    [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?

    <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>
  2. #2

    RE: [CLOSED] Call client function on image button press

    Hi,

    Please see (5. ImageButton in group)
    https://examples1.ext.net/#/Buttons/Basic/ImageButton/


    To call own client side method after page loading use Update listener of the Panel

Similar Threads

  1. Beta 2: Press button on client side
    By Dominik in forum 2.x Help
    Replies: 0
    Last Post: Jun 01, 2012, 11:30 AM
  2. [CLOSED] How to call Java script function from AjaxEvents button click
    By Vasudhaika in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 01, 2012, 9:56 AM
  3. Replies: 2
    Last Post: Dec 03, 2010, 8:02 AM
  4. [CLOSED] call parent js function from client window
    By majestic in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 29, 2010, 9:21 AM
  5. Problem with Press next button in pagingtoolbar
    By ranganath in forum 1.x Help
    Replies: 2
    Last Post: Dec 05, 2009, 1:30 AM

Posting Permissions