473,326 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Textbox WebControl

Please Help Me..

Is there anyone who knows how i can make a Custom WebControl Textbox, which
can take my native
Language (Farsi) on a webPage. I can do that very easily on a windows Form,
but how can i do that
on a Webpage.

On Windows....

InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(New
System.Globalization.CultureInfo("fa-IR"))

you can change the "fa-IR" as Desired Language.

I have 2 Textboxes one in English and one in Farsi on a webpage. But the
Farsi textbox doesnt work.
I know that there is a way to use a windows CustomControl on a webpage, but i
can not find anything
about that.

any Help is very Much apprichiated.

Thanks alot in advance

--
B2
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...b-net/200508/1
Nov 21 '05 #1
2 1268
Biz,

What you ask is in my opinion impossible. The textbox runs on the clients
computer. That textbox is a standard HTML input type=text with hidden
javascript around it.

However maybe you can find some standard javascript to do what you want. The
language the user is using you can find with the

http://msdn.microsoft.com/library/de...estopic.aspAnd in that the HTTP_ACCEPT_LANGUAGEI hope this helps,Cor

Nov 21 '05 #2
Mr . Cor Ligthert [MVP]
Oh, I havent been on that site yet, but i want to thank you anyway for
answering me.
I know that it can be done, but unfortunetly its proven to difícult for me.
Specially because i was so
naive that i thought that i could go around without learning good Java
(JavaScript).
Please remember me, if you see something about this.
Or
If there is a way to Change users Keyboard Language(remotly), when the user
has Focus on
a textbox, and just change everything back when the user lives the Textbox.

Thank you very much, and hope the best for you.

Biz

--
B2
Message posted via http://www.dotnetmonster.com
Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pete | last post by:
How do i set focus to a webcontrol textbox on pageload? i.e. cursor is in the textbox when page loads.
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
3
by: Lisa Calla | last post by:
Hi, I'm trying to control the foreground and background colors of a textbox. I hate that light gray foreground when the textbox.enabled=false. I've tried to derive a control from the textbox,...
2
by: Daves | last post by:
code in a webcontrol's Page_Load event wants to grab value of a TextBox in the parent page; (TextBox) _textBox = (TextBox) this.Page.FindControl("TB_TextBox1"); string _value = _textBox.Text; ...
0
by: Jan | last post by:
Hi On my web form there is a webcontrol textbox. textmode = multiline rows = 3 there is only one line of text in the box but it still shows a (disabled) vertical scrollbar. I am sure the...
1
by: Wilson | last post by:
Hi, Would you give me a idea how to create a web control with two Textbox ? my code : namespace com.index.web.components {
5
by: Stuart Shay | last post by:
Hello All I am working on ASP.NET 1.1 Custom Pager that allows a User to Enter a Number in a TextBox and go to the page selected. Since the OnClick Event does not work in ASP.NET 1.1 for a...
1
by: rbg.net | last post by:
I know that there is a autocomplete property for the HTML "INPUT type=text" control which if set to OFF, disables autocomplete of the input textbox (doesn't remember previously entered values) ...
4
by: Bjorn Sagbakken | last post by:
With .NET 2.0: Is there a way to right align the text in a textbox? The task is to edit numbers in a table-column, and it looks kind of silly with the numbers left-aligned. A label respond to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.