Click here to Skip to main content
15,918,003 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to add flash file in asp.net web page Pin
Abhijit Jana1-Jan-10 21:23
professionalAbhijit Jana1-Jan-10 21:23 
Questiontell me some links for the complete code in c# for login box Pin
Tanzeel Altaf1-Jan-10 20:47
Tanzeel Altaf1-Jan-10 20:47 
AnswerRe: tell me some links for the complete code in c# for login box Pin
Brij1-Jan-10 21:04
mentorBrij1-Jan-10 21:04 
AnswerRe: tell me some links for the complete code in c# for login box Pin
sashidhar1-Jan-10 21:25
sashidhar1-Jan-10 21:25 
GeneralRe: tell me some links for the complete code in c# for login box Pin
Abhijit Jana1-Jan-10 21:31
professionalAbhijit Jana1-Jan-10 21:31 
QuestionFixed nunber of char in multiline text box Pin
amitamit0991-Jan-10 20:22
amitamit0991-Jan-10 20:22 
AnswerRe: Fixed nunber of char in multiline text box Pin
Brij1-Jan-10 21:01
mentorBrij1-Jan-10 21:01 
AnswerRe: Fixed nunber of char in multiline text box Pin
Abhijit Jana1-Jan-10 21:17
professionalAbhijit Jana1-Jan-10 21:17 
MaxLength property does not work for when you set Textmode="multiline". So, you can use ValidatorControl to Validate the range. I am not sure why this is not working for you. You can Try like this.
<asp:RegularExpressionValidator ID="RegularExpressionValidatorForMultiline" runat="server" ControlToValidate="txtMultiLineText"
                   Display="Dynamic" ErrorMessage="Please limit to 200 characters or less."
                   ValidationExpression="[\s\S]{1,2500}"></asp:RegularExpressionValidator>

Another alternative solution is to developed one custom control. I found one great article in Codeproject It self.
Extending the ASP.Net Multiline TextBox control to limit the number of characters entered[^]
And For your more Information Read this Post
MaxLength ignored in multiline textbox.[^]
Hope this will resolve your problem.

Let me know if you need more help.

Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.

AnswerRe: Fixed nunber of char in multiline text box Pin
April Fans4-Jan-10 16:30
April Fans4-Jan-10 16:30 
QuestionSession effects one system to another Pin
vikas shukla1-Jan-10 18:24
vikas shukla1-Jan-10 18:24 
AnswerRe: Session effects one system to another Pin
m-khansari1-Jan-10 18:35
m-khansari1-Jan-10 18:35 
AnswerRe: Session effects one system to another Pin
Abhijit Jana1-Jan-10 21:26
professionalAbhijit Jana1-Jan-10 21:26 
GeneralRe: Session effects one system to another Pin
naresh yadav y3-Jan-10 21:58
naresh yadav y3-Jan-10 21:58 
QuestionReading data from client computer serial port using asp.net web application Pin
A k ch1-Jan-10 18:12
A k ch1-Jan-10 18:12 
QuestionShow a progress barr Pin
abbd1-Jan-10 12:02
abbd1-Jan-10 12:02 
AnswerRe: Show a progress barr Pin
m-khansari1-Jan-10 18:29
m-khansari1-Jan-10 18:29 
GeneralRe: Show a progress barr Pin
abbd2-Jan-10 0:57
abbd2-Jan-10 0:57 
GeneralRe: Show a progress barr Pin
m-khansari2-Jan-10 1:30
m-khansari2-Jan-10 1:30 
GeneralRe: Show a progress barr Pin
abbd2-Jan-10 1:47
abbd2-Jan-10 1:47 
GeneralRe: Show a progress barr Pin
m-khansari2-Jan-10 19:10
m-khansari2-Jan-10 19:10 
GeneralRe: Show a progress barr Pin
abbd3-Jan-10 2:27
abbd3-Jan-10 2:27 
GeneralRe: Show a progress barr Pin
m-khansari4-Jan-10 21:17
m-khansari4-Jan-10 21:17 
AnswerRe: Show a progress barr Pin
Brij1-Jan-10 19:07
mentorBrij1-Jan-10 19:07 
AnswerRe: Show a progress barr Pin
Abhijit Jana1-Jan-10 21:48
professionalAbhijit Jana1-Jan-10 21:48 
Questiongoogle map in VB.NET Pin
abu sabha1-Jan-10 8:57
abu sabha1-Jan-10 8:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.