Wednesday, June 19, 2013

Client side validations not firing asp.net mvc

Today i have gisue sot this issue . When i click on button it is not firing validations at client side . I found that

my button have css class name “cancel” . this created a problem . Here is the solution to fix this

solution

If button tag  css class have "cancel" . this gives the problem. Remove the css class name or Modify the “cancel” cass

class with different naming convention