TextBox's text's lenght!
-
I don't know how to alert the user that he has reached the limited characters count of the TextBox, using the Validation Controls! I used the RangeValidator and set the Type to string, set the MinimumValue to 1 and the MaximumValue to 255, but it works incorrect, I also used the RegularExpression using the [\ws]{1,255} string, but doesn't work! I'm not good at RegularExpression can anyone help please?
Sojaner!
-
I don't know how to alert the user that he has reached the limited characters count of the TextBox, using the Validation Controls! I used the RangeValidator and set the Type to string, set the MinimumValue to 1 and the MaximumValue to 255, but it works incorrect, I also used the RegularExpression using the [\ws]{1,255} string, but doesn't work! I'm not good at RegularExpression can anyone help please?
Sojaner!
u can use the ValidationSummary i guess it should work
Estarta
-
u can use the ValidationSummary i guess it should work
Estarta
-
I can alert the user, but don't know how to validate the length of the text in the TextBox!
Sojaner!
Check the MAXLENGTH property for the textbox and thanks for ur answer on my authentication question.. but how can i put the pages in folder ?!
Estarta
-
Check the MAXLENGTH property for the textbox and thanks for ur answer on my authentication question.. but how can i put the pages in folder ?!
Estarta
I have used the MaxLength but it doesn't have any effect! I still can write more that the MaxLenght!:( In the Solution Explorer right-click the second nude from the top and add a folder, then simply drag and drop your pages to it in the solution explorer and the visual studio will change all the links you have mad to these pages!
Sojaner!
-
I have used the MaxLength but it doesn't have any effect! I still can write more that the MaxLenght!:( In the Solution Explorer right-click the second nude from the top and add a folder, then simply drag and drop your pages to it in the solution explorer and the visual studio will change all the links you have mad to these pages!
Sojaner!
Thanks alot mano :) about the Maxlengeth i donno exactly wats wrong but it should work man! i will check it now and i will let u know :)
Estarta
-
Thanks alot mano :) about the Maxlengeth i donno exactly wats wrong but it should work man! i will check it now and i will let u know :)
Estarta
-
I don't know how to alert the user that he has reached the limited characters count of the TextBox, using the Validation Controls! I used the RangeValidator and set the Type to string, set the MinimumValue to 1 and the MaximumValue to 255, but it works incorrect, I also used the RegularExpression using the [\ws]{1,255} string, but doesn't work! I'm not good at RegularExpression can anyone help please?
Sojaner!
-
I don't know how to alert the user that he has reached the limited characters count of the TextBox, using the Validation Controls! I used the RangeValidator and set the Type to string, set the MinimumValue to 1 and the MaximumValue to 255, but it works incorrect, I also used the RegularExpression using the [\ws]{1,255} string, but doesn't work! I'm not good at RegularExpression can anyone help please?
Sojaner!
u can set maxlength proerty as u want or for alert message u can use javascript function like TextBox1.Attributes.Add("onkeypress", "Function();");(write this line in page load and the function in designerhtml view) in that function u write the code to count characters... (this fn. can be called for each and every key entry from keyboard ) nZoy..!:):rose:
-
u can set maxlength proerty as u want or for alert message u can use javascript function like TextBox1.Attributes.Add("onkeypress", "Function();");(write this line in page load and the function in designerhtml view) in that function u write the code to count characters... (this fn. can be called for each and every key entry from keyboard ) nZoy..!:):rose: