It seems you haven't bookmarked any pages. Fix that by clicking the button on the right
Welcome! Please, log in for trials, free products. access to the support system and forums.
AJAX, MVC, WPF, Silverlight, WinForms, Data and Reporting
HTML5 / JavaScript tools for Web and Mobile applications
One easy tool for testing your app's UI and Performance
CMS, Mobile Targeting, Ecommerce, E-marketing, Social Media
Project management and collaboration made easy
Posted on Mar 4, 2010 (permalink)
Reply
Posted on Sep 17, 2010 (permalink)
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
head
runat
"server"
title
></
</
body
script
type
"text/javascript"
language
"javascript"
function CreateTextBox() {
// Create new text box.
var tb = document.createElement('input');
tb.type = 'text';
tb.name = 'tbTest';
tb.id = 'tbTest';
tb.size = 40;
// Add it to the document.
var idiv = document.getElementById('InputDiv');
idiv.appendChild(tb);
// Add it to the RadInputManager.
var imgr = $find('<%= RadInputManager1.ClientID %>');
imgr.get_numericTextBoxSettings()[0].addTargetInput(tb.id);
}
form
id
"form1"
div
"InputDiv"
asp:ScriptManager
ID
"ScriptManager1"
/>
p
input
"button"
onclick
"javascript:CreateTextBox();"
value
"Create Text Box"
telerik:RadInputManager
"RadInputManager1"
telerik:NumericTextBoxSetting
BehaviorID
"NumericTextBoxSetting1" /
Back to Top
[ ASP.NET Input Features | Documentation | Demos | Telerik TV | Self-Paced Trainer | Step-by-step Tutorial ]