473,587 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ToolTip not display in Japanese

Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They
just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:

public static ResourceManager resman = new
ResourceManager ("croissantcli. croissantcliRes ",
Assembly.GetExe cutingAssembly( ));

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentT hread.CurrentCu lture;

uText.Text = Global.resman.G etString("uText ", ci);
uTT.ToolTip = Global.resman.G etString("uTT", ci);
uEM.ErrorMessag e = Global.resman.G etString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string
of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 18 '05 #1
2 2145
i think tooltip is rendered as alt tag so i would assume that it would be
dependant on clients browser settings. i dont know much about cultures but
you have a look under IEs language settings.

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"shefali" <sh*****@discus sions.microsoft .com> wrote in message
news:FB******** *************** ***********@mic rosoft.com...
Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:
public static ResourceManager resman = new
ResourceManager ("croissantcli. croissantcliRes ",
Assembly.GetExe cutingAssembly( ));

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentT hread.CurrentCu lture;

uText.Text = Global.resman.G etString("uText ", ci);
uTT.ToolTip = Global.resman.G etString("uTT", ci);
uEM.ErrorMessag e = Global.resman.G etString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 18 '05 #2
I have exactly the same problem. Did you ever find a solution?
Thanks,
greg

"shefali" wrote:
Hi,

The Tooltip text messages in my web app are not showing up in Japanese. They
just show up as a string of squares in the browser... The text and
errormessages display Japanese text.

Here is how I have localized this:

1. set a culture attribute in web.config: culture=ja-JP

2. in global.asax.cs, I statically instatiate the resource Manager as such:

public static ResourceManager resman = new
ResourceManager ("croissantcli. croissantcliRes ",
Assembly.GetExe cutingAssembly( ));

3. In a separate .resx file, I have created name-values pairs.

4. Then I access it in my .cs file as such:

CultureInfo ci = Thread.CurrentT hread.CurrentCu lture;

uText.Text = Global.resman.G etString("uText ", ci);
uTT.ToolTip = Global.resman.G etString("uTT", ci);
uEM.ErrorMessag e = Global.resman.G etString("uEM", ci);

Both Text & ErrorMessage display Japanese text, but ToolTip display a string
of squares..... , kind of like undefined...

Thanks in advance.
-Shefali

Nov 19 '05 #3

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

Similar topics

1
9007
by: David Thomas | last post by:
Hi there, a while ago, I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with the same problem. The plan was to make a script to read and display japanese text. I will use it for making a japanese proverb script and for a...
2
1840
by: Stephen | last post by:
I'm trying to work with a datagrid column in order to display a tooltip in a datagrid cell. The reason I am doing this is because I have some long strings being returned and I don't want the rows of the datagrid expaning down to much. I basically want to display the first 50 characters in the grid cell and then display the rest as a tooltip...
9
2144
by: tomrmgc | last post by:
Here is the problem we've encountered. An application that used to successfully display Japanese Kanji characters no longer does so when recompiled with 7.1 When compiled with the 6.0 compiler, both of the following methods are successful in displaying Japanese characters in a multi-line CEdit control on a machine that is fully configured...
3
2537
by: Craig G | last post by:
what way do you code it? i tried the following but it wouldnt display it lblAdd_info is a hidden field in the cell itself that contains the data i want to display in the tooltip text. i added the following into the ItemDatabound event for the grif but it wont display If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType =...
5
1257
by: ODAN | last post by:
I have an application that was developed in ASP.NET/C#. On one of the pages, we are using tooltip to display the description of the textboxes. Wehn you move your mouse over a textbox the tooltip appears with a full description of the textbox on which you have your mouse. By default the tooltip display for 10 seconds and then disappear...
3
4750
by: GS | last post by:
I did not find it by Google on Microsoft sites I know 102 is just too long and tooltip would not display at all actually first two level of menuitems does not display tooltip properly. level1, nothing seem to show, level 2 flash by quickly and disappear. However when I move cursor down to level 3 and back to it parent, I will see a...
4
7805
by: rn5a | last post by:
A DataList displays 3 columns - Product, Category & Price. These columns are populated with records from a SQL Server 2005 DB table. Apart from the above 3 DB columns that the resultset retrieves, there is another DB column named 'Description'. Though the resultset fetches this column as well along with the above 3 columns, I am excluding the...
0
2089
by: Jake Montgomery | last post by:
I am using .NET 2.0 forms and running on Windows XP SP2. When I have a tooltip on a combo box, and the combo box is expanded (“dropped down”) using the arrow, it will no longer display it’s tooltip, no matter how long I hover. Even if I move off the control and back it will still not display its tooltip. If I then go to another control that...
7
3600
exoskeleton
by: exoskeleton | last post by:
hi guys..hope you can help me...my boss want me to edit our website and apply the tooltip thing, i mean the moving tooltip that follows the mouse.. please help...thank you... :(
0
7923
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...
0
7852
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8349
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...
1
7974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6629
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...
1
5719
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1192
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...

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.