Monday, March 26, 2012

Validation & Right to left

Dear friends,

I have two questions:

1. I want to show a right to left language on a lable. Is there any property to show it other then alignment.

2. I have a textbox I want to desired characters to be entered into that. Since I don't know the language (i.e. english, hindi etc.) in which the user will enter. I want to validat in format like "All characters except ! @dotnet.itags.org. ' $ " etc. and words like pwd etc.";

Thanks

1: You can use the "dir" attribute on the <html> element to decide if the content should be left to right, or right to left.

2: You can for example use the RegularExpressionValidator.

No comments:

Post a Comment