Click here to Skip to main content
15,921,530 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionvalidations Pin
bhattiprolu28-Aug-07 22:56
bhattiprolu28-Aug-07 22:56 
AnswerRe: validations Pin
Paramhans Dubey29-Aug-07 0:36
professionalParamhans Dubey29-Aug-07 0:36 
GeneralRe: validations Pin
bhattiprolu29-Aug-07 1:08
bhattiprolu29-Aug-07 1:08 
QuestionPassing client side value to server side.......... Pin
aquarious202028-Aug-07 22:37
aquarious202028-Aug-07 22:37 
AnswerRe: Passing client side value to server side.......... Pin
Michael Sync28-Aug-07 23:24
Michael Sync28-Aug-07 23:24 
QuestionHelp Pin
musnet200728-Aug-07 22:34
musnet200728-Aug-07 22:34 
AnswerRe: Help Pin
Michael Sync28-Aug-07 23:22
Michael Sync28-Aug-07 23:22 
AnswerRe: Help Pin
John-ph28-Aug-07 23:24
John-ph28-Aug-07 23:24 
How about restricting the user from entering alphabets or special characters Instead of validating the entered text.

check for the keycode using javascript on the keyPress or KeyDown event of the textbox . if the keycode falls between 48 and 57 then the entered key is a number ortherwise return false. when the return value is false it doesn't take the entered value....



function onlynumbers(){<br />
			if (window.event.keyCode>=48 && window.event.keyCode<=57){<br />
				window.event.returnValue = true;<br />
			}<br />
				else<br />
				window.event.returnValue = false;<br />
			}




Regards
J O H N Rose | [Rose]

"Even eagles need a push." David McNally

AnswerRe: Help Pin
Sathesh Sakthivel28-Aug-07 23:44
Sathesh Sakthivel28-Aug-07 23:44 
QuestionBlocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
H.R28-Aug-07 22:20
H.R28-Aug-07 22:20 
AnswerRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Michael Sync28-Aug-07 22:32
Michael Sync28-Aug-07 22:32 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web [modified] Pin
H.R28-Aug-07 22:54
H.R28-Aug-07 22:54 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Michael Sync28-Aug-07 23:06
Michael Sync28-Aug-07 23:06 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
H.R28-Aug-07 23:32
H.R28-Aug-07 23:32 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Michael Sync28-Aug-07 23:46
Michael Sync28-Aug-07 23:46 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web [modified] Pin
H.R29-Aug-07 0:00
H.R29-Aug-07 0:00 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Vasudevan Deepak Kumar29-Aug-07 1:42
Vasudevan Deepak Kumar29-Aug-07 1:42 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Vasudevan Deepak Kumar29-Aug-07 1:44
Vasudevan Deepak Kumar29-Aug-07 1:44 
AnswerRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
Paddy Boyd28-Aug-07 23:34
Paddy Boyd28-Aug-07 23:34 
GeneralRe: Blocking client's resources(MyComputer,...) from server, to e-exam by the web Pin
H.R29-Aug-07 0:21
H.R29-Aug-07 0:21 
QuestionAjax and open image in a inline popup Pin
Tridip Bhattacharjee28-Aug-07 22:09
professionalTridip Bhattacharjee28-Aug-07 22:09 
AnswerRe: Ajax and open image in a inline popup Pin
Michael Sync28-Aug-07 22:31
Michael Sync28-Aug-07 22:31 
Questioncrystal Reports Pin
Sonia Gupta28-Aug-07 21:55
Sonia Gupta28-Aug-07 21:55 
QuestionHow to restrict the entry of a variables and special characters in a HTML textbox. using Java Script..? Pin
Balagurunathan S28-Aug-07 21:51
Balagurunathan S28-Aug-07 21:51 
AnswerRe: How to restrict the entry of a variables and special characters in a HTML textbox. using Java Script..? Pin
Michael Sync28-Aug-07 23:23
Michael Sync28-Aug-07 23:23 

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.