numericTextbox for arrow up n down problem

2 posts, 0 answers
  1. Eltiel
    Eltiel avatar
    5 posts
    Member since:
    Feb 2013

    Posted 06 Apr 2013 Link to this post

    Recently, I am implementing the numericTextbox, also I wanna the key of "arrow up" and "down" for other javascript function.
    I only can disable the default "increase function" .  please help. Thanks
  2. Angel Petrov
    Angel Petrov avatar
    1044 posts

    Posted 11 Apr 2013 Link to this post

    Hi Eltiel,

    In order to call a JavaScript method you can intercept the OnValueChanging client-side event of the RadNumericTextBox like demonstrated below:

    <telerik:RadNumericTextBox runat="server" ID="RadNumericTextBox" ShowSpinButtons="true">
            <ClientEvents OnValueChanging="ValueChanging" />

    function ValueChanging(sender,args)

    The second requirements is difficult to understand. Do you want do disable both of the spin buttons? Please elaborate more on your requirements so we could give you a more precise answer.

    All the best,
    Angel Petrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top