Skip to content Skip to sidebar Skip to footer

Getting Javascript Runtime Error: Irrationalpath, What Does It Mean?

In my MasterPage i'm using the following script And in my applica

Solution 1:

The most likely cause of the JavaScript error: irrationalPath error probably has nothing to do with any of the code you posted in the question. It's a dojo error that is usually seen when there's a problem with the dojo loader. It probably has something to do with the paths or pacakges setup in dojoConfig. See here for more info.

The other error you are getting is a .NET error. I can't be certain without seeing more of your code but this Microsoft support article is a good starting place for troubleshooting that erroor

Solution 2:

Have you tried to make the HttpContext.Current.Request.ApplicationPath as String in your js code (delimited with two quotes).

js code become :

document.getElementById(menu_number).src = <%="'"+HttpContext.Current.Request.ApplicationPath+"'"%>+"/UI/Common/Images/down-arrow.gif";

Post a Comment for "Getting Javascript Runtime Error: Irrationalpath, What Does It Mean?"