Localization :: Restrict User To Type 'Arabic' Text In TextBox Using C#?
Dec 4, 2010how to type the user in textbox in arabic text without changing the language in their pc?! using c# .net
View 3 Replieshow to type the user in textbox in arabic text without changing the language in their pc?! using c# .net
View 3 RepliesI want user to enter name in Arabic if the user enter in english it should give Message " Enter Message In Arabic " and same for English if user try to enter in arabic it should give a message "Enter Name in English" ...
View 1 RepliesI have developed a website in English, i want this application to be in arabic also. Say suppose there are 50 members 30 knew english and 20 knew arabic , when i open my application it should open to them in specific language.
my application will have many entry fields(name,address..) and buttons to save , search. The arabic text entered in textbox should be viewable by both english and arabic known guys in their respective language. (ie) the arabic text should be readable in english for english known person and in arabic for arabic known person and viceversa., so that 50 member details should be viewable to 50 persons in their language.
I am sending arabic text in querystring to SMS gateway website by using the follwoing code:
protected void Button1_Click(object sender, EventArgs e)
string cellno,username,password ;
cellno = "966505326609";
username = "Aazar Jameel";
password = "12345678";
string val01,val02,val03,val04;
[code]...
Am developing a SMS Application, from there I have to send Arabic text by SMS, problem is that SMS Gateway does not accept Arabic text directly, Gateway accept Arabic text in Unicode/UCS2 format. So I need code to convert Arabic text in Unicode Format.
View 5 Repliesi want to display dynamic text like the News in Arabic and english Language should I create two fields in the database For arabic and english?and how to select the english News when the user select English? (Note:i know to display the static text like the menus in arabic and english)
View 2 RepliesI am retrieving list of projects and project IDs using autocompleteextender. Is it possible to restrict the user to type further if the input doesn't retrieve any value from database. Though, I have found a solution by calling function through OnClientPopulated. But this function calls back the webservice "GetCompletionList" method. I don't want to recall one method two times. is there any other way?
View 1 Repliesi am getting arabic words like as follows in my system (server 2003) "ÎÕÈ ÈÎÇ" .
same words getting correctly in another machine.
artro.ttf and artrbdo.ttf files i nstalled in font folder.
My application is in arabic. When i run my application locally it is working fine but after uploading it on the server, the arabic content is not showing. All my labels and HTML content are not showing in arabic. I am using Master Page.
View 2 Replieshow non English language input works with asp.net textboxes.
1. Can a regular asp.net textarea or a textbox accept text from languages other than English?
2. If yes, then how does the user enter non English language text
3. Is there a way to detect what language the user has entered text and make UI changes accordingly. (Ex: Make a button visible if non English text is entered)
4. Can non English text be stored in a varchar column in a SQL Server database? If not, how do I store this text?
I gave an option to user to change password but the text boxes are taking - / @ (special characters). How to check at runtime that user may not enter these characters?
View 21 Repliesi am using COM Component in my asp.net project. My problem is that i am not able to assign the Arabic string to the property of that component. Whe i debug it shows that input textbox has arabic text and when i assign that text to the property of my COM Component then it shows that in the property is save. where i have to change my .net code. is there any settings related to globalization etc.
View 1 RepliesI'm working in an ASP.net web application. I'm trying to export a crystal report file (.rpt file) to pdf viewerthe following code:
rystalDecisions.CrystalReports.Engine.ReportDocument doc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
doc.Load("C:\Users\amino\Documents\Visual Studio 2005\WebSites\WebSite1\Report.rpt");
CrystalReportViewer1.ReportSource = doc;
[code]...
I have a gridview with date column, and my datastring format is: [Code]....
I need to display this in arabic encoding for my arabic pages.
i have a project in which i want to write urdu text in textboxes and then save it to database.
View 3 RepliesI have a detailsVeiw bounded with the sqldatasource.I want to restirct user to update all data in text boxes.
Or in words if user click Edit then it is required to show some text boxes to update and other should be read only.
How to do this task in asp.net.
I am using jquery autocomplete. Its working fine. Only issues I have is with its display.Now I have a textbox where users type in the text. Below the texbox are some other controls such as texbox, dropdownlist etc.Now when the user start typing in my autocomplte textbox it shows all the suggestions below but it still displays my controls below, i mean my result should be over the controls below and my results box should overlap my controls. Right now it seems my results box is transparent.Here is the css that I currently have.
[Code]....
I have a page with a text box, a button and a GridView. Enter an account number in the text box, press the check button and the result will show in the GridView.
Now user wants that if the text box is clear, the GridView disappear.
I can only find TextBox1_OnTextChanged. But I want to have that while the user is clearing the text, if the length of text becomes zero, the GridView is clear out. So I am looking for OnTextChanging(). Well of course this function does not exist. How to achieve the same purpose?
I am using the VS 2008. I m using the TextboxwaterMarkExtender,Its working,Suppose watermark text is Type Name Here,Suppose i type sonia in textbox,When i refresh the page,then in textbox that is attached to Extender text is changing to Type Name Here,I want that if I type in textbox sonia,when the page is refreshed & page comes back,sonia is still there in textbox.
Code:
[code]....
I'm now facing a problem with the listview, on my web form, I have a listview with a textbox at the end of each row, a Submit button, I bind my listview datasource to a table in my database via LINQ, (name Daily Money), here I want that when I click on Submit button, I want to retrieve the text that user typed in the textbox of each row, I tried many ways but it just give me an empty string (the value that was bind to the text on pageload) (first I didn't bind anything to the textbox, second I bind it to a column of the table but all failed).
I used item.FindControl, but it didn't work, how can I retrieve the textbox's value that user typed in (using foreach), or a way to update the listview datasource, I want to insert, update those textbox's value to my database,
[code]...
My ItemTemplate:
[Code]....
As i am using asp validation and they are working fine,my next issue is how to make appear the requiredfield validator into arabic as well,because i am developing multilanguage webisite n now how can i make the error message to be appeared in arabic when
the arabic button is selected
< asp:RequiredFieldValidator
ID="RequiredFieldValidator1"
runat="server" [code]...
the arabic text is not working in my visual studio 2005 but i already add the saudi arabia (arabic) in my regional settings in my control panel. the arabic text appears like a square in my code in vs 2005.
View 2 RepliesI am sending arabic text in querystring to SMS gateway website by using the follwoing code:
protected void Button1_Click(object sender, EventArgs e)
{
string cellno,username,password ;
cellno = "966505326609";
username = "Aazar Jameel";
[Code]....
Is it possible to allow the fileupload control to show only images?When we click the Browse button it should show only images.
View 4 Repliesi have made fulltext index in 4 columns in a table ( 2 ARABIC columns (title,Desc(html) AND ENGLISH(title,Desc(html))it works fine locally when i use contains function in search but in sever arabic search doesnt work well .
View 2 Replies