Posted on: 10/3/2013 12:11:51 AM | Views : 381

Hello Community,
I am currently working on a Web Form project, that within the Global.asax page, uses a method to create routes.  This allows the application to utilize friendly URL's.
The routes work fine.  The probelm is, when someone types in some unknown information "http://sampleurl/lsdfnkgldfg" we want to forward to the "error" page.  We wrote a route (below) which accomplishes this. 
routes.MapPageRoute("all unknown", "{*path}", "~/views/public/info/errorPage.aspx");
Anytime we go to "http://sampleurl/lsdfnkgldfg", we get to the error page!  Yipee! Problem. Now .NET's AJAX Control Toolkit will not load.  We get "Uncaught Error: ASP.NET Ajax client-side framework failed to load. " in the JavaScript debugger.  We comment out the route line mentioned above, bam, everything works again. ...

Go to the complete details ...