I have a requirement to open up a Jquery modal dialogue but it's contents needs to be either a .aspx or .ascx, is this possible?
I know that the dialogues usually open a div from the same page but I need to be able to load them up from other places and need to be able to send data to and from the modal contents as well.
Any help is appreciated.
Anonymous User
01-Dec-2014You can use jQuery.load
$("#mydiv").load("pageToLoad.aspx #container");
pageToLoad.aspx:
Probably it will work but haven't tried it.