473,834 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CustomValidatio n control doesn't work with Arabic language

JustRun
127 New Member
Hi,

I'm developing a web application using ASP.NET2.0 with C#, I have tried to use custom validation controls to validate my forms, it worked very well in the English language , but when i test it with Arabic it didn't cause the validator consider the Arabic characters as Special Characters (. - ' " ...) which i prevent them in my forms.

Is there any idea to make the validation control work with both, English and any other Unicode Language like Arabic

Thanks
Oct 26 '08 #1
2 1727
kenobewan
4,871 Recognized Expert Specialist
You could try with the regular expression validator. Another avenue to explore may be globalization, but haven't tried this.
Oct 26 '08 #2
JustRun
127 New Member
Well, I use in my application App_GlobalResou rces which contains some global validation commands, is that what you mean, Please explain more
Oct 26 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1613
by: Garrek | last post by:
I have an existing ASP.Net application that must be modified to support mixed content: Latin-based languages (i.e. English) intermixed with Arabic. Our code and database assumes everything is UTF-8. I have some concerns on this and would appreciate feedback. 1) Displaying the english content requires left-to-right formatting ( left justified) while arabic content requirese right-to-left (right justified). Is there a way to determine...
6
3123
by: Michelle Stone | last post by:
Hi I am doing a bilingual .NET application for English/Arabic. On a web form, I have some edit boxes for data entry in Arabic and some for entry in English. Right now the user has to change his keyboard language by pressing ALT+SHIFT (or by changing the language manually elsewhere) each time he wants to shift from one language to another.
2
1213
by: rodchar | last post by:
hey all, I'm not sure if this is even possible but here goes: if i put a CustomValidator control in my EditItem template column how do i get to it? Or how and where do i write my custom code for the customvalidation control? thanks, rodchar
2
2940
by: kpg | last post by:
Hi all, This should be simple... I have a TextBox1 and a customvalidation control linked to it. I use a client side script to validate the textbox. If the data is not valid I want to return focus to the textbox. I tried document.GetElementByID("TextBox1").focus(); and doucment.Form1.TextBox1.focus(); to no avail.
1
1492
by: SAI | last post by:
Should I bind one of the controls to the CustomValidation Object? e.g. bind text box to it. In some cases, I may need to check 2 web object contents. How to do it in one CustomValidation Object? I tried to bind a text box to CustomValidation Object and set the Client Validation to TRUE. Then I write a javascript to validate. It is no any action about the checking. Any suggestion? thanks.
0
1311
by: Reny J Joseph Thuthikattu | last post by:
hi, i want to display my datetimepicker control ,which display in georgian callender format,in it's arabic form.for example i want to display january 29 ,2005 in it's arabic form( i don't know arabic actually!!!!!!) ,not the hijira callender (want to see january in arabic) can any one help????? regards
2
5456
by: PrateekArora | last post by:
Hi Guys, I need to develop a MultiLingual Application (Arabic & English) in VB.NET, as far as Labels and captions are concerned in User Interface I am done with that using Resource Manager Class & resource File (Code given below). But I am having issue with text boxes as we need them for both English as well as Arabic (depending upon the language selected, in arabic they will be Right aligned). I'll appriciate if someone can guide me with...
0
1939
by: ankitnagpal1692 | last post by:
When password in Arabic language is set in pdf using itextsharp, it does not open in Adobe Acrobat Reader using the same password in Arabic. While it is working fine for English language. When I set a password in Arabic language in a pdf using itextsharp, the file can be opened in Adobe Acrobat Reader using the same password. How can I set a password in Arabic language in a pdf using itextsharp such that it can be opened in Adobe Acrobat...
1
1401
by: Craig Buchanan | last post by:
I have a Web User Control (.ascx file) that I need to valid using a CustomValidation control. Moreover, I would like use client and server validation, if possible. I have the logic for the server-side validation working correctly. I also have the have the client-side validation working once the control is embedded in a page. I would like to move the validation from the aspx page to the ascx page, but I'm concerned that the...
0
9800
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10800
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10516
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9339
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5629
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5800
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3987
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3085
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.