?
Solved

telerik RadNumericTextBox

Posted on 2009-06-30
3
Medium Priority
?
3,668 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 2000 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 2000 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 2000 total points
ID: 24753587
so try

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

0

Featured Post

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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

771 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