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
You can get a handle to the actual iFrame inside of a panel using javascript code like this:
splitter.getPaneAt(0).get_iframe()
From there you should be able to refresh the iframe as you normally would
Devin
How do I force a refresh of the embedded IFRAME once I've set the ContentUrl parameter? I've set ContentUrl on the client side using the method you describe and then call oDialog.show() but the IFRAME does not display the newly updated ContentUrl.
Thanks...
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’);