Last post Oct 03, 2007 08:54 AM by IndianGuru
Oct 03, 2007 08:22 AM|IndianGuru|LINK
I wish to open a new WebPage in Modal form, something like window.showModalDialog('http://www.mywebsite.com/default.aspx')
I wish to open this page in a Modal window and also need a callbackfunction, which would get executed when the Dialog box closes.
Can I use AJAX ModalPopup ? how
If not, how do i do it reliably ? ( window.showModalDialog works fine, but only in IE, not in FireFox or Opera)
Oct 03, 2007 08:34 AM|dwhite|LINK
You should be able to use an IFRAME inside of the
ModalPopup, and you can load the webpage in the IFRAME. You can assign a client side script to "OnOkScript" or "OkCancelScript" to handle when the popup closes.
Oct 03, 2007 08:42 AM|IndianGuru|LINK
but the problem is, I wish to pass the url to the ModalDialog Page.
Infact I have a gridview, where I am displaying the records and I have an Edit Icon Hyperlink, clicking on it I wish to open the EditForm in Modal Window, passing the Id of the record, so that the User can edit that page in Modal Window
something like http://www.mysite.com/editform.aspx?ItemId=2&editype=category
Oct 03, 2007 08:47 AM|dwhite|LINK
Oct 03, 2007 08:54 AM|IndianGuru|LINK