This is a migrated thread and some comments may be shown as answers.

[Solved] CustomValidator for RadDatePicker control issue

1 Answer 115 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
DEEPAK
Top achievements
Rank 1
DEEPAK asked on 14 May 2009, 07:41 PM
Hello All,
      I am working ASP.net 2008, SSRS. I have successfully created Dynamic controls based on the selected report Parameter DataType and everything works fine.
     I am trying to add validations by using the Validator controls for the dynamic RadDatePicker controls. In my scenario, I am creating two RadDatePicker controls each for StartDate and EndDate.

My condition is :   1. If StartDate & End Date is entered then I have no message
                            2. If any of them is missing then I should restrict the user to proceed furher.

     How do I validate the above scenario for the dynamically created RadDatePicker controls.

Please help me,
Deepak

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 15 May 2009, 12:53 PM
Hello DEEPAK,

To achieve the desired functionality I suggest that you use CompareValidator.
For more information, review the following online demo:
Validation

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Calendar
Asked by
DEEPAK
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or