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

What is the difference between vb.net and vc#.net?

1180


What is the concept of inheritance in .net?

1154


What are the difference bbetween value type & reference types ? Example from .net. Integer & struct are value types or reference types in .net?

936


What is a formatter in .net?

1027


Explain why do we use msmq?

997


What is the use of system.diagnostics.process class in .net?

1033


What is misl?

1038


How you apply a theme in whole application in .Net?

1216


What is connection pooling and how do you make your application use it?

1036


What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?

966


Explain what is an anonymous method and how is it different from a lambda expression?

958


Explain can the validation be done in the server side? Or this can be done only in the client side?

930


What is COM Interoperability in .NET

1080


i had attended to infosys interview on 17th april 2010...on .net..3+ experience for Technology Analyst .. to my knowledge i did well in technical and hr whether i loose the interview or still processing is taking place..am confused please. what accuatly would be happend?

2352


What is the single responsibility principle?

1020