Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
WebNumericEditor and RequiredFieldValidator problem!
posted

Hello,

I have a problem using RequiredFieldValidator with WebNumericEditor, when it (WebNumericEditor) have any data and i have a required field validator for it, then a post back heppen the validator determin that it contains NO data although it have data!!?

Can you help me with this?

Regards.

Parents
No Data
Reply
  • 24497
    Suggested Answer
    posted

    Hi Salis,

    I tested following with current dlls and it worked ok.

    <ig:WebNumericEditor ID="WebNumericEditor1" runat="server" ValueText="23"></ig:WebNumericEditor>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="WebNumericEditor1" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
    <asp:Button ID="Button1" runat="server" Text="Button" />

    I looked at history of source files and found few fixes related to validators:
    12/15/2009 (validation after postback) and 03/02/2010 (validation after postback in UpdatePanel).

    Please try to test latest service release.

Children