Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
157
ContentUrl in Javascript
posted

hi,

how can i give the contenturl of webdialogwindow at the clientside in javascript?

how to get the webdialogwindow object at the clientside in javascript?

Please reply ASAP,

 thanks,

Rajvel 

 

 

 

Parents
  • 12631
    posted

    You can get a reference to the WebDialogWindow on the client by using the standard ASP.NET AJAX $find() syntax.

    http://asp.net/ajax/documentation/live/ClientReference/Global/FindShortcutMethod.aspx 

    Once you get a reference to the contol, you can change the content url on the client using the contentUrl property

    dialogObject.get_contentPane().set_contentUrl(‘myNewUrl.aspx’);

     

     

     

Reply Children