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

Numeric Textbox with RadInput Manager

2 Answers 85 Views
Forum suggestions
This is a migrated thread and some comments may be shown as answers.
laila
Top achievements
Rank 1
laila asked on 15 May 2009, 11:33 AM
Hi,
 
   I am having a problem with RadNumeric TextBox with RadInput Manager. When the number with more length is entered in the textbox (ex take 17 digits the entered Numbers is changing to some unwanted input. PLease give me suggestion if anybody know about the problem.

for ex consider the following code :
<body>
<asp:TextBox ID="txtAvgRebatePerScript" runat="server" MaxLength="18" TabIndex ="3" Width="110px"></asp:TextBox></td>
                            <td style="padding-left: 4px">


   <telerik:RadInputManager ID="RadInputManager1" runat="server">

<telerik:NumericTextBoxSetting Type="number" MinValue="0"    BehaviorID="AnualGenFillRate"
                DecimalDigits="2" InitializeOnClient="true" Validation-IsRequired="false">
                <TargetControls>
                    <telerik:TargetInput ControlID="txtAnualGenFillRate" Enabled="true" />
                </TargetControls>
            </telerik:NumericTextBoxSetting>
  </telerik:RadInputManager>
</body>

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 18 May 2009, 10:45 AM
Hello laila,

Can you please verify that you are using the latest version 2009.1.402 of RadControls for ASP.NET AJAX in your project? Additionally, if you would like to control the behavior of the textbox using RadInputManager, you need to specify its id correctly through the NumericTextBoxSetting, namely:

<telerik:RadInputManager ID="RadInputManager1" runat="server">  
 
<telerik:NumericTextBoxSetting Type="number" MinValue="0"    BehaviorID="txtAvgRebatePerScript" 
                DecimalDigits="2" InitializeOnClient="true" Validation-IsRequired="false">  
                <TargetControls> 
                    <telerik:TargetInput ControlID="txtAvgRebatePerScript" Enabled="true" /> 
                </TargetControls> 
            </telerik:NumericTextBoxSetting> 
  </telerik:RadInputManager> 

Also take into account the min/max range supported for numeric input outlined in this section of the documentation (paragraph 'Limiting the range').

Best regards,
Sebastian
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.
0
laila
Top achievements
Rank 1
answered on 18 May 2009, 06:08 PM
hi, i m using
2008.3.1105.20 version of radInput manager.


Regards,
Laila...
Tags
Forum suggestions
Asked by
laila
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
laila
Top achievements
Rank 1
Share this question
or