> I was wondering if anone have any idea of how about validateing the
> TextBox input is Int32 or not. I want to validate character-by-character.
[quoted text clipped - 7 lines]
>
> if(taObj.value){
There is an ASP.NET validation control to perform that check:
<%@ Page Language="JScript" %>
<html>
<head>
<title>Using a CompareValidator to check for a certain type</title>
</head>
<body>
<form runat="server">
<p>
<asp:TextBox id="Input0" runat="server" />
<asp:CompareValidator id="CompTypeInt0"
ControlToValidate="Input0"
Type="Integer"
Operator="DataTypeCheck"
ErrorMessage="Please enter an integer value."
runat="server" />
<input type="submit" id="SubmitButton">
</p>
</form>
</body>
</html>

Signature
Martin Honnen
http://JavaScript.FAQTs.com/
Hi Everyone,
I have a problem, the control is auto postback. So it overwrites the screen,
how do I deal with that seniro....Please let me know if you think of
anything, to deal with that. I tried disabling EnableViewState to false. And
it is same with the setting to.
Thank You
> Hi everyone,
>
[quoted text clipped - 13 lines]
>
> }
Martin Honnen - 17 Dec 2003 18:36 GMT
> I have a problem, the control is auto postback. So it overwrites the screen,
> how do I deal with that seniro....Please let me know if you think of
> anything, to deal with that. I tried disabling EnableViewState to false. And
> it is same with the setting to.
Which control?
>>Hi everyone,
>>
[quoted text clipped - 13 lines]
>>
>>}

Signature
Martin Honnen
http://JavaScript.FAQTs.com/
Pratik Parikh - 17 Dec 2003 19:06 GMT
TextBox control is autopost.
Thank You
> > I have a problem, the control is auto postback. So it overwrites the screen,
> > how do I deal with that seniro....Please let me know if you think of
[quoted text clipped - 20 lines]
> >>
> >>}
Martin Honnen - 19 Dec 2003 17:17 GMT
> TextBox control is autopost.
If you don't want that you should be able to set
<asp:TextBox
AutoPostBack="False"

Signature
Martin Honnen
http://JavaScript.FAQTs.com/