jscript1.js error in webforms when applying routing

Posted by Sean N on Stack Overflow See other posts from Stack Overflow or by Sean N
Published on 2010-05-07T13:42:13Z Indexed on 2010/05/07 13:48 UTC
Read the original article Hit count: 310

Filed under:
|

Hello I have a project using webforms. I applied routing on one of the page. My route is structure like this : http://localhost:3576/Request/Admin/Rejected/ => http://localhost:3576/Request/{role}/{action}/{id} Everything works great but i have a javascript error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Fri, 7 May 2010 13:35:54 UTC

Message: Syntax error Line: 3 Char: 1 Code: 0 URI: http://localhost:3576/Request/Admin/Rejected/JScript1.js

I think it's trying to route to the file where i stored my javascript functions.

Any suggestion?

© Stack Overflow or respective owner

Related posts about system.web.routing

Related posts about .NET