Dinesh Ambaliya

Dinesh Ambaliya

  • NA
  • 42
  • 80.2k

if page.isvalid client side

Jul 27 2012 8:18 AM
               I have two textbox controls  and added two required fields validation controls and set the text property of the validation control <img> tag.  After that added a button control.
  When I click the button without filling anything in the textbox it display images  which I have putted in the required field validation control. But I want to display bottom of the button control a text description when any of the required validation is not valid.
               I think this can be using if(page.isvalid) then display the text description. But it only work when javascript is disable.

Answers (2)