Saturday, 26 June 2010

formelement is null in ASP.Net MVC Validation

I'm buidling a really simple MVC application as a demo and I've been getting a Javascript "formelement is null" error. A quick google throws up a bunch of 'make sure you add the correct .js files" but I had all those
    
    
    
Turns out that I had added a Master page using a template and thet template contains a
element. This screwa up the validation. Removing that tag fixes the problem

Posted by kevin at 7:31 PM in General

 

[Trackback URL for this entry]

Your comment:

SCode: (*) Generate another code
SCode

Please enter the code as seen in the image above to post your comment.

(not displayed)
 
 
 

Live Comment Preview:

 
« June »
SunMonTueWedThuFriSat
  12345
6789101112
13141516171819
20212223242526
27282930