MOHAMED JACKARIAH

MOHAMED JACKARIAH

  • 1.5k
  • 178
  • 32.3k

URL Routing using ASP.NET

Aug 2 2012 8:01 AM
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. 

Answers (2)