Value Events Handeling

9 posts, 0 answers
  1. Adir
    Adir avatar
    8 posts
    Member since:
    Jun 2009

    Posted 25 Jun 2009 Link to this post

    there is no event for catching up the up and down buttons click the ValueChanged event raises every time the value is changed whether if it changed by the textbox or code.
    also in some cases i need to cancel the changing value action there is no such option.
    i try to cancel the changing value by putting the old value, but it raised the ValueChanged event again.
    last thing, i need to show a regular numeric value.
    Is there any neat solution for this issue?
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 25 Jun 2009 Link to this post

    Hi Adir,

    We are planning to release RadNumericUpDown with changed codebase that will overcome most of your problems. Unfortunately, we are planning to include it in our service pack release. For showing regular numbers you can just set the NumberFormatInfo.NumberDecimalDigits to 0. This will show integer values. Thank you for contacting us and we are looking forward to receiving other valuable feedback.

    Sincerely yours,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. Adir
    Adir avatar
    8 posts
    Member since:
    Jun 2009

    Posted 01 Jul 2009 Link to this post

    hi,
    Thanks for the response.

    2 questions:
    1. When is  the service pack will be released?
    2. the biggest problem is the lack information i have in the ValueChanged event such as who called me: the bottuns or the free text.
    is the sevice pack will includes a solution for it?

    Thanks.
  5. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 02 Jul 2009 Link to this post

    Hi Adir,

    The release date is scheduled for end of June, but there may be changes to this date. We are not planning to have this feature, why would you need such information? What functionality are you trying to achieve?

    Regards,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Adir
    Adir avatar
    8 posts
    Member since:
    Jun 2009

    Posted 02 Jul 2009 Link to this post

    my numeric up down determines how many rows will be in the grid.
    I need to catch only the changing value comes from the buttons, and chanhing the grid rows accordingly.
    if the user want to enter a value into the text, the grid will change only on lost focus.
    the problem is that the ValueChanged event raises the first character he is entering.
  7. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 03 Jul 2009 Link to this post

    Hello Adir,

    We will improve the control to invoke the ValueChanged event only when the textbox focus is lost. This will work the same way as if you have a two way binding and start editing a data item. The setter of the data item will be invoked only when the control has lost it's focus, in our case the textbox control. We will preserve the functionality when you are changing the value with the buttons. Expect these and more changes with this control for our Service Pack 1 release of Q2.

    Greetings,
    Hristo Borisov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  8. Adir
    Adir avatar
    8 posts
    Member since:
    Jun 2009

    Posted 05 Jul 2009 Link to this post

    this will be very useful
    thank you for your help,
    Adir
  9. alvesea
    alvesea avatar
    1 posts
    Member since:
    Aug 2012

    Posted 27 Jan 2010 Link to this post

    Hi Hristo,
    I am developing an application using the Q3 release.
    I've had the same problem reported: I am using a Grid Cell Edit template, and when the user change de text into numeric control and presses TAB the content is being lost.

    Do you have a soluton?

    Thanks,

    Edson,
  10. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 02 Feb 2010 Link to this post

    Hi Edson,

    Shortly after the Q3 release we added a new property to RadNumericUpDown, called UpdateValueEvent, which should help with this problem. Its value specifies the event that should update the value of the control. You just need to update your Telerik assemblies to a newer version and then set UpdateValueEvent="PropertyChanged" in the RadNumericUpDown element.

    All the best,
    Valeri Hristov
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top
DevCraft banner