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
410
Can you put a web dialog on a web user control?
posted

 Hello,

 I'm trying to put a webdialog on a user control (.ascx) and then use that in a .aspx page.  The $find method fails to find the webdialog when I call it like so:

 <input type="button" value="Show (Client Side)" onclick="$find('confirmDelete').show();" />

"confirmDelete" is the name of my web dialog.  I have another page pretty much identical except that all the code that's in the ascx control, is right on the .aspx page and it works fine.

 -Eric

Parents
No Data
Reply
  • 1763
    posted

    I'm not sure, but it could be that the web dialog's name is different when rendered to the page since it's within another control.. I'd recommend you to take a look at the generated code (right click on the page and then 'View source code' trying to find out what the name of the web dialog is.

Children