In My Global.aspax file i am writing the code like.
Application_Start event()
{
System.Web.Routing.RouteTable.Routes.MapPageRoute("JACKTEST",
"{MyTest}",
"~/Test/Default.aspx",false);
}
In my code behind
Response.RedirectToRoutePermanent("JACKTEST",
new { "JACK" });
After executing the Resopnse.RedirectToRoutePermanent() statement. i am getting the correct friendly URL. But in that Page i have use 2 IFrames.
First IFrame src contains Menu.aspx. Inside that Menu.aspx i am placing the user control (Menu.acx).
Second IFrame src contains mainpage.htm.
But i can not able to view the contents.
How can i fix that issue. Please help me its very urgent task for me.
Loading
MOHAMED JACKARIAHPosted Aug 3, 2012, 1:45 AM
Thanks for your reply. I am using the ASP.NET wep application.
Venkatesh KumarPosted Aug 2, 2012, 2:25 PM
If you are using MVC application you can check the below link :
http://www.codinginstinct.com/2008/08/aspnet-mvc-iframe-url-routing.html
if it's webapplication , instead of iframe , change main page as Master page and route URL to content page.