Home > DeveloperSection > Forums > Open an ASP control inside Jquery modal dialogue
jayprakash sharma
jayprakash sharma

Total Post:117

Posted on    November-30-2014 10:16 PM

 ASP.Net JQuery  Model 

 1 Reply(s)
 603  View(s)
Rate this:

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.

Kamlakar Singh
Kamlakar Singh

Total Post:194

Posted on    December-01-2014 7:18 AM

You can use jQuery.load


$("#mydiv").load("pageToLoad.aspx #container");





        <div id="container">

            <!--stuff goes here -->




Probably it will work but haven't tried it.

Don't want to miss updates? Please click the below button!

Follow MindStick