Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

for the textbox if i want to allow only numbers.what ever
the characters u enter it should not take.which event u used?

Answer Posted / kinjal

if u r using web application then take one textbox and use comparevalidator

set properties of comparevalidator .

<asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="TextBox1"

Display="Dynamic" ErrorMessage="Integer required."
Operator="DataTypeCheck" SetFocusOnError="True"

Type="Integer"></asp:CompareValidator>

Is This Answer Correct ?    13 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare client server application with n-tier application

984


What is the advantage of packaging over xcopy in .net?

1116


What is the use of gacutil.exe?

1358


What tools is used to develop .NET applications?

1137


How is a managed code executed?

1516


How does cas works?

1046


Show different types of collection in .NET?

1066


Tell about your technical profile ?

3655


What are an object and a class?

1191


How do you generate a strong name?

1201


What operating systems does the .net framework run on?

1075


What exactly is being serialized when you perform serialization in .net?

1083


Explain why do we use the “using” statement?

1107


Difference between abstract class and interface in .net?

1173


Explain what is mutex?

1136