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 / yusuf khan

You will also use ajax FilteredTextBoxExtender and in filter
type allows only number like this

<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:TextBox ID="TextBox1" runat="server">
</asp:TextBox>
<asp:FilteredTextBoxExtender
ID="FilteredTextBoxExtender1" runat="server"
TargetControlID="TextBox1" FilterType="Numbers">
</asp:FilteredTextBoxExtender>

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the security policy levels in .Net

2098


What is typical about a windows process in regards to memory allocation in dot net?

1078


Please explain what is heap and what is stack?

1011


Differences between namespace, class, assembly?

1057


What is delegation in .net?

1101


Why is .net used?

1006


What are the differences between user control and server control?

1118


What method do you use to explicitly kill a users session? How?

1031


Tell us what is the difference between struct and class?

1144


How to implement datagrid in.net? How would you make a combo-box appear in one column of a datagrid? What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for datagrid methods. What is the access specifier used for that methods in the code behind file and why?

1084


What versions of .net are there?

1066


With these events, why wouldn't microsoft combine invalidate and paint, so that you wouldn't have to tell it to repaint, and then to force it to repaint?

1004


Please explain when should you use .net web forms over asp.net mvc?

1010


What are the new thee features of com+ services, which are not there in com (mts)?

999


Can you write a class without specifying namespace?

1149