AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 ModalPopup Extender in Asp.Net
Posted by amit malviya on  3/25/2010 4:44:49 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
ModalPopup Extender open the panel in the form of popup , which already exists on the page.
but i need to open URL like google.com or my page (localhost/test.aspx) in this popup.

how can i do this???

Thanks in advance.
--Amit

Post Your Reply Post New Question

 Viewer's Reply
Asp.Net ModalPopup Extender with iFrame to open other web page
Answered By Moderator1 on 3/26/2010 11:10:12 PM
Hi,

You can do this by using iFrame inside the ModalPopup Extender's Panel Control. In the Popup Panel that invokes by the ModalPopup Extender, place a iFrame object and make it source as your target page as follows.

<iframe src="YourTargetPage.aspx" height="200px" width="300px"></iframe>
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Easing the Migration to Microsoft SQL Server 2005
Web Application Security — How to Minimize Prevalent Risk of Attacks
Windows 8: 50 Questions and Answers You Need to Make a Decision (Normally $9.95)