Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had applied URL routing to my website.Ajax controls and validation controls not working.Any one help me.

Global.aspxasax
C#
 void RegisterRoute(RouteCollection routes)
{

routes.MapPageRoute("myapp", "{name}", "~/search.aspx");
}

 void Application_Start(object sender, EventArgs e)
{
RegisterRoute(RouteTable.Routes);
}

In web.config
HTML
<system.webserver>
<modules runallmanagedmodulesforallrequests="true">

</modules></system.webserver>
Posted
Updated 6-Feb-12 20:02pm
v2
Comments
That's Aragon 7-Feb-12 5:56am    
It should work. Are you getting any run time/compile time /javascript error ? Provide more and specific information regarding the issue. It will helps other to solve your issue.
ZurdoDev 7-Feb-12 16:47pm    
"Not working" is not enough information to help you. Do you really want help? If so, please provide some information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900