Hi,
I have a dialog window to which I need to assign a UserControlURL property dynamically. I do this on a button click event.
I am setting the DialogWindow.ContentPane.UserControlURL ="somecontrol.ascx"
I am setting the visibility to true and window state to normal. However, nothing shows up in the dialog window. And the Page Load event of the user control does NOT fire. When I refresh the page, the Page load of that user control fires up (because of the USerCOntrolProperty is set).
What I need is the Page Load of the User Control to be fired after I set the property. IS this achieveble?
Actually I dont think I made sense. I need to dynamically load a user control into the Web Dialog WIndow.
Is this achievable? THe reason I want to do it dynamically is because, I need to pass a query string to the user control which can be determined only at run time.