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

Validate AdvancedForm without using asp validators

1 Answer 35 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 09 Aug 2012, 01:56 AM
I need to validate the advanced form serverside and there are a few things that I need to do that cannot be done with asp validators.  I am already using asp validators for some required fields and I'd like to use them here, if possible to simply things.

Specifically I need to:
1) I need to verify that a RadNumericTextbox is a multiple of 6
2) Check a repeater and make sure that its Items.Count are > 0.

How can I do these 2 validations? 

Steven

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 13 Aug 2012, 12:33 PM
Hi Steven,

Thank you for contacting Telerik support.

You can use the CustomValidator in order to implement the desired validation. You can also refer to this help topic where in the Add a new custom validator for the description field section is shown one way how to use such validator with the inbuilt Advanced form of RadScheduler.

Hope this will be helpful. If you have further question concerning this issue please don't hesitate to contact us again.

Regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Steven
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or