OnError called twice

2 posts, 1 answers
  1. Hash
    Hash avatar
    2 posts
    Member since:
    Oct 2015

    Posted 09 Dec 2015 Link to this post


    I am using below code for datepicker


    <telerik:RadDatePicker ID="RadDatePicker1" runat="server" MinDate="2015/7/7">
        <DateInput runat="server">
            <ClientEvents OnError="pickerError" />

    and below is my javascript code

    function pickerError(sender, args)
      alert("Please fix the dates");

    So when we enter an invalid date say 2015/2015/2015 the pickerError method is called and an alert box is shown but when we try to edit the date (click on the textbox) the pickerError method is called again. Does anyone know why this is happening?

    Please note that this was working fine in Q2 2012, but we have upgraded to Q2 2015.

     Also, I have watched args.get_reason() and in both cases its value is 1.




  2. Answer
    Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 14 Dec 2015 Link to this post


    It appears that the presented behavior is a bug for the control. I have logged it into our tracking system, and our development team will do the best to fix it as soon as possible.
    excuse us for any inconvenience this issue my lead.

    As a token of gratitude for reporting this bug you will find your Telerik points updated.

    Maria Ilieva
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top