Introduction:Here I will explain how to check end date greater than start date and check two dates difference range is 30 days or not using asp.net.

Description:

Previously I explained how to use Ajax Collapsible panel . I explained many articles on Ajax now I will explain to how to set validation to check end date greater than start date or not and check two dates difference range is 30 days using Ajax validator controls.

First Create new website and add AjaxControlToolkit reference to your application after that add

Now check the demo here it showing validation message if user does not any value in textboxes and if end date is less than start date again we are displaying validation message and if user selects more than 30 days again we are displaying validation message dates difference should not greater than 30 days