Archives

Archives / 2011
  • Date Compare Validator Control ASP.NET

    Compare two input dates to avoid invalid dates. In this example I have created two textboxes and namded as "TextBoxSeminarDate" and "TextBoxBookingDeadline". Booking deadline date must be before date to the Seminar date. Therefore I used Operator as "LesThanEqual".

  • ASP.NET Validation Summary Control and Enter key Submit

    When you use enter key to sumbit data the validation controls are working properly but most of the time the validation summary not fired as a part of the validation. To over come this problem you can include some JavaScript code in the form or div section of the ASP.NET form. How to get enter key to submit data while avoiding validation summary problem.