pass paramaters to ModalPopup

Last post 10-27-2006 3:58 AM by coospaa. 2 replies.

Sort Posts:

  • pass paramaters to ModalPopup

    10-16-2006, 2:34 AM
    • Loading...
    • coospaa
    • Joined on 07-18-2006, 4:45 AM
    • Posts 17

    Hi, I have a dropdownlist in aspx page. I want to pass in some paramter via the onchange() function to the ModalPopup.

    Note that onchange() is the javascript function (for some reason, I can only pass in paramters in client side).  What i want is by selecting something in the dropdown, I can pass in something to a textbox in the ModalPopup user control. So that in the ModalPopup user control, I could have a label say "You've selected *** in the dropdown.". Note that the Label is in the user control.

    I'm using atlasToolkie:ModalPopupExtender (C#). Can anyone teach me how to do it? Thanks a lot.

     

  • Re: pass paramaters to ModalPopup

    10-25-2006, 7:34 PM
    Hi coospaa,

    You can just get access to the Textbox (using $get or document.getElementById) and modifying it.  You don't need to involve modal popup to get this done.

    Thanks,
    Ted
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: pass paramaters to ModalPopup

    10-27-2006, 3:58 AM
    • Loading...
    • coospaa
    • Joined on 07-18-2006, 4:45 AM
    • Posts 17
    I got it. Thanks Ted!!
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter