URL Routing using ASP.NET

Posted by Mdjack under ASP.NET on 8/2/2012 | Points: 10 | Views : 982 | Status : [Member] | Replies : 0
Hi friends,
Here i attached the ErrorScreen also.

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. Here i attached the Error screen also.
How can i fix that issue. Please help me its very urgent task for me.

N. MOHAMED ZACKKARIAH


Responses

(No response found.)

Login to post response