Click here to Skip to main content
15,906,626 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Help with form post method Pin
John_Adams11-Sep-08 12:12
John_Adams11-Sep-08 12:12 
GeneralMultiple Item Display Pin
Brady Kelly11-Sep-08 4:46
Brady Kelly11-Sep-08 4:46 
QuestionRe: Multiple Item Display Pin
led mike11-Sep-08 4:49
led mike11-Sep-08 4:49 
AnswerRe: Multiple Item Display Pin
Brady Kelly11-Sep-08 5:02
Brady Kelly11-Sep-08 5:02 
QuestionSecond Dropdown Says Metohd Error 500 with Ajax CaseCading Dropdown [modified] Pin
Saurabh11-Sep-08 4:03
Saurabh11-Sep-08 4:03 
QuestionCapturing Download Dialog box events using javascript Pin
goradaranaresh11-Sep-08 1:45
goradaranaresh11-Sep-08 1:45 
QuestionHow to disable browser back button of a particular child page (Master Page) Pin
G Nathan11-Sep-08 1:42
G Nathan11-Sep-08 1:42 
Questionrestrict text box to take only numbers Pin
dhumplopoka11-Sep-08 1:35
dhumplopoka11-Sep-08 1:35 
Hi,

I created dynamic TextBox

Dim Txtdynamic As TextBox = New TextBox
Txtdynamic.ID = "id1"
c_placeholder.Controls.Add(Txtdynamic)

which used in

<asp:placeholder runat="server" id="c_placeholder" xmlns:asp="#unknown">

My question is how do I restrict this text box to take only numbers.

I got some hint like

<asp:textbox id="TextBox1" runat="server" onkeypress="return increment(event)">

but problem is onkeypress event not supported in ASP.Net (in my little knowledge) and I dont use <asp:textbox> control

Thanks in Advance
AnswerRe: restrict text box to take only numbers Pin
Rangarajan K11-Sep-08 2:17
Rangarajan K11-Sep-08 2:17 
AnswerRe: restrict text box to take only numbers Pin
Abhijit Jana11-Sep-08 4:35
professionalAbhijit Jana11-Sep-08 4:35 
GeneralRe: restrict text box to take only numbers Pin
J4amieC11-Sep-08 4:48
J4amieC11-Sep-08 4:48 
GeneralRe: restrict text box to take only numbers Pin
led mike11-Sep-08 4:50
led mike11-Sep-08 4:50 
GeneralRe: restrict text box to take only numbers Pin
Pete O'Hanlon11-Sep-08 5:13
mvePete O'Hanlon11-Sep-08 5:13 
GeneralRe: restrict text box to take only numbers Pin
dhumplopoka12-Sep-08 3:20
dhumplopoka12-Sep-08 3:20 
Questionhow to find reference count for an object in unmanaged code ? Pin
ademsandeepreddy11-Sep-08 1:09
ademsandeepreddy11-Sep-08 1:09 
QuestionSocket Programming Pin
ramesh148211-Sep-08 0:56
ramesh148211-Sep-08 0:56 
AnswerRe: Socket Programming Pin
Manas Bhardwaj11-Sep-08 3:45
professionalManas Bhardwaj11-Sep-08 3:45 
QuestionSize restriction on file upload Pin
seee sharp11-Sep-08 0:52
seee sharp11-Sep-08 0:52 
AnswerRe: Size restriction on file upload Pin
NanaAM11-Sep-08 1:37
NanaAM11-Sep-08 1:37 
QuestionGet the set of records from the data Table in asp.net Pin
Rajeshwary11-Sep-08 0:36
Rajeshwary11-Sep-08 0:36 
AnswerRe: Get the set of records from the data Table in asp.net Pin
The Web Developer11-Sep-08 0:57
The Web Developer11-Sep-08 0:57 
GeneralRe: Get the set of records from the data Table in asp.net Pin
Rajeshwary11-Sep-08 1:05
Rajeshwary11-Sep-08 1:05 
GeneralRe: Get the set of records from the data Table in asp.net Pin
The Web Developer11-Sep-08 1:28
The Web Developer11-Sep-08 1:28 
AnswerRe: Get the set of records from the data Table in asp.net Pin
Paddy Boyd11-Sep-08 2:58
Paddy Boyd11-Sep-08 2:58 
QuestionLoading records as they come from dataset Pin
needhi_p10-Sep-08 23:56
needhi_p10-Sep-08 23:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.