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

RadScheduler AdvancedForm Validation

1 Answer 119 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
nyi nyi
Top achievements
Rank 1
nyi nyi asked on 30 Nov 2010, 03:42 AM
Hi,

I customized RadScheduler's AdvancedForm. I added a RadNumericTextBox and RequiredFieldValidator as follows.
But once I click Save/Update Button, it seems validation is not activated. 
Could someone please help me out?

<telerik:RadNumericTextBox runat="server" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                                            IncrementSettings-InterceptMouseWheel="true" ID="TotalAmountText" Width="300px"
                                                            Label="Total Amount:" />
<asp:RequiredFieldValidator runat="server" ID="TotalAmountRequiredFieldValidator"
                                                            ControlToValidate="TotalAmountText" EnableClientScript="true" Display="None"
                                                            CssClass="rsValidatorMsg" />
Regards,
NN

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 30 Nov 2010, 09:12 AM
Hello nyi nyi,

Have you set the CausesValidation property of the "Save" button to true?

Could you please send me the full code so I can inspect it and help you?

Thank you!

Kind regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
nyi nyi
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or