Solved

telerik RadNumericTextBox

Posted on 2009-06-30
3
3,636 Views
Last Modified: 2012-05-07
I have this control
                <telerik:RadNumericTextBox ID="rntRecursEvery1" runat="server"
                    ButtonsPosition="Right"  Value="0" ShowSpinButtons ="true" Height="18px"
                    Width="60px" Type="Number" MaxLength="2" MaxValue="31" MinValue="1">
                        <NumberFormat AllowRounding="False"></NumberFormat>
                </telerik:RadNumericTextBox>
I need set two properties (MaxValue and  MinValue) value in javascript
my code is
var rntOccursEveryClie = document.getElementById('<%=this.rntOccursEvery.ClientID%>').value
but tis portion
document.getElementById('<%=this.rntOccursEvery.ClientID%>').MaxValue = 24;
it is not working

Open in new window

0
Comment
Question by:nolberta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 500 total points
ID: 24753364
That is likely because the HTML/Javascript generated for this control does not have these values exposed (under those names)

I'll have a look to see how to access them if at all possible
0
 
LVL 75

Assisted Solution

by:Michel Plungjan
Michel Plungjan earned 500 total points
ID: 24753515
http://www.telerik.com/help/aspnet-ajax/input_clientsideradnumerictextbox.html

Name                  Parameters              Return Type                           Description

get_maxValue              none              number              Returns the maximum value the user can enter.                                
set_maxValue              number              none              Sets the maximum value the user can enter.
get_minValue              none              number              Returns the minimum value the user can enter.
set_minValue              number              none              Sets the minimum value the user can enter.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 24753587
so try

document.getElementById('<%=this.rntOccursEvery.ClientID%>').set_maxValue(24) ;

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question