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

[Solved] RadDatePicker and RequiredFieldValidator

5 Answers 257 Views
Input
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 26 May 2008, 06:40 PM
When a RequiredFieldValidator is applied to a RadDatePicker control the validator's Text is displayed when the user enters the field, does not change anything and leaves the field.  This should not be happening since the text has not changed from the default.  How can I workaround this?

Here's an example:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server"
        </telerik:RadDatePicker> 
        <asp:RequiredFieldValidator ID="DateReq" runat="server" ControlToValidate="RadDatePicker1" Text="*" ErrorMessage="Date is a required field" /> 
        <br /> 
        <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" ShowSpinButtons="true"
        </telerik:RadNumericTextBox> 
        <asp:RequiredFieldValidator ID="NumberReq" runat="server" ControlToValidate="RadNumericTextBox1" Text="*" ErrorMessage="Number is a required field" /> 
        <br /> 
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" Text="*" ErrorMessage="Text is a required field" /> 
        <br /> 
        <asp:Button ID="submit" runat="server" CausesValidation="true" Text="Submit" /> 
         
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" ShowSummary="true" /> 

5 Answers, 1 is accepted

Sort by
0
Accepted
Missing User
answered on 27 May 2008, 02:15 PM
Hello Kevin,


I was able to reproduce the issue and logged it in our bug tracking system. I notified our developers and we will do our best to fix the problem.


We do appreciate your report and we updated your Telerik points in your Client.net account.


Best wishes,
Plamen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kevin
Top achievements
Rank 2
answered on 27 May 2008, 03:54 PM
Would it be possible for me to get a hotfix when it becomes available?
0
Accepted
Missing User
answered on 28 May 2008, 03:08 PM
Hello Kevin,

The devs are looking into the issue and we will get back to you shortly with a fix.

Please, excuse us for the temporary inconvenience.


Kind regards,
Plamen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Elmar
Top achievements
Rank 1
answered on 03 Jun 2008, 10:02 AM
I need this fix too. Please inform when you have something ready for us.
Thank you!
Elmar
0
Missing User
answered on 05 Jun 2008, 03:01 PM
Hello Elmar,


This issue is already fixed and will be shipped with the upcoming service pack in the middle of June

Regards,
Plamen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Input
Asked by
Kevin
Top achievements
Rank 2
Answers by
Missing User
Kevin
Top achievements
Rank 2
Elmar
Top achievements
Rank 1
Share this question
or