Author: WE3R_Cz | Posted on: 4/18/2010 2:49:40 PM | Views : 1311

Hi, I'm developing using the new ASP.NET 4 and I ran into the following issue. When I put a Menu control into the web form, the menu causes the following code to generate just before the closing </form> tag:
<script type='text/javascript'>new Sys.WebForms.Menu({ element: 'NavigationMenu', disappearAfter: 500, orientation: 'horizontal', tabIndex: 0, disabled: false });  As long as I don't use URL Routing, the page compiles and loads properly. But when I try to use URL Routing on the website, VS starts to throw "Sys is undefined" exception.
However, this does not happen always. Most frequently it happens when I change somenting positioning-related in the CSS file, but sometimes the exceptions seems just arbitrary.
I'm not sure which parts of code could help, if any. I would appreciate any help. Thx
...

Go to the complete details ...