Is it possible to load ascx page in iframe.When I try it I got a error
The type of page you have requested is not served because it has been explicitly forbidden. The extension '.ascx' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
But when I want to load .html page in same location it can be load.
May i did any thing wrong ?Thanks.
You can’t load .ascx file in an iframe for the same reason you can’t load it directly in the browser. It’s not a page, but rather a control. So it’s meant to be used within an .aspx page.