On my products page I have a small thumbnail and a description that is pulled from the database, since there is space restraints, how do I allow a max amount of characters, and if the description is longer append ... to the end? I'm using a data repeater and data binding for the content inside it.
On my current form I have it validating a Canadian Postal Address (xxx xxx). The space is optional but if the user does not use a space, then once the validation passes it will insert one. How can I count the first 3 characters of the textbox, insert a space, then add the rest of the characters?
i list the project descriptions on a field in my gridview, but some of them are too long. i want to limit them like 20 characters of 50 chars can be seen by the user. then pressing a button entire description will be displayed.
I have a dropdown list. This is a bound to a column in Table which has around 200 entires.Now when a user clicks on the drop down list I want him to see not more than 10 rows. The rest he should navigate by using scroll bars.
I'm creating a login page. I want to limit the number of login attempts, say not more than 5, in case of wrong.I want to do it without using the asp:loghin controls and the membership.How can restrict it??
How can I set a asp.net text box to accept up to 20 characters? I was trying the range validator and I set it up to 0 min value and 20 max value. The prolem is that if I write 12933, the range validator errors appear saying "only 20 characters allowed" so I think it is adding the values.
I am using the asp.net and framework 2.0 with Ajax enable web.i have a text box and when user will enter "a" or number in this will search the name started from "a" character or number if he or she enter the number basically we can say live-search.
Employee search: Textbox.In this text box she/he will enter the first character of name or first number of employeeno and according to the a character name will search in list.
I have a form that's used to submit emails. I'm not sure what the character limit should be for the body of the email. I'm thinking about setting it at 150. It's used to allow people to inquire about services provided by a small business. Should I allow more? Is this sufficient?