Hi friends am using Localized TextBox in my Application. I wish to use rad tooltip for that.
But In My application all controls are Multi Language Support. So i cant provide display text directly to the controls. using some other resources only i can display it.
Meanwhile i need to add rad tooltip to that Localised TextBox.
Can u sent me a sample for that.
Thanks in Advance
But In My application all controls are Multi Language Support. So i cant provide display text directly to the controls. using some other resources only i can display it.
Meanwhile i need to add rad tooltip to that Localised TextBox.
Can u sent me a sample for that.
Thanks in Advance
3 Answers, 1 is accepted
0
Hello Manoj,
If I understand you correctly you need a way to provide a culture-specific text for a tooltip. There are several ways to select the text that will be shown in the RadToolTip and they do not depend on the origin of the string - i.e. whether you use GlobalResources, LocalResources; the server-side properties or the client-side API. This means that you can use your favorite method of localization and simply apply it to the RadToolTip.
For your convenience I created and attached a simple page that uses global resources and the Text property of the RadToolTip to set its text accordingly. For this example I have used English and German, but you can use the languages you need.
Here you can find a video with the expected behavior: http://screencast.com/t/CXF9Z6ehHl. I hope this is it. Please use my demo as basis for your further development.
Best wishes,
Marin
the Telerik team
If I understand you correctly you need a way to provide a culture-specific text for a tooltip. There are several ways to select the text that will be shown in the RadToolTip and they do not depend on the origin of the string - i.e. whether you use GlobalResources, LocalResources; the server-side properties or the client-side API. This means that you can use your favorite method of localization and simply apply it to the RadToolTip.
For your convenience I created and attached a simple page that uses global resources and the Text property of the RadToolTip to set its text accordingly. For this example I have used English and German, but you can use the languages you need.
Here you can find a video with the expected behavior: http://screencast.com/t/CXF9Z6ehHl. I hope this is it. Please use my demo as basis for your further development.
Best wishes,
Marin
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>
0

Manoj
Top achievements
Rank 1
answered on 06 Sep 2011, 10:13 AM
Thank you for your reply..
Now i will explain Clearly for U..
i will not use ToolTip inside the aspx Page.
Instead of that i have to use that in my class library [ Customizex Textbox class. Here i attached jpj File ]
when that textbox rendering. tooltip also should render.
Now i will explain Clearly for U..
i will not use ToolTip inside the aspx Page.
Instead of that i have to use that in my class library [ Customizex Textbox class. Here i attached jpj File ]
when that textbox rendering. tooltip also should render.
0
Hi Manoj,
I cannot extrapolate the logic and the difficulty you are having from a screenshot that does not even contain anything related to the RadToolTip. I am not sure how you create and render the controls, yet what I can advise is that you set the RadToolTip's Text property to the desired value. I am assuming that in your class you are creating some controls with localized content/properties and then you add them to the page that needs them. If that is the case you can create a RadToolTip programmatically, set its Text property and add it to the page like any other control. If you are still unable to resolve this I advise that you open a support ticket and send us a fully runnable demonstration project that show the issue you are having with the RadToolTIp. Once we are able to reproduce and debug it locally we will do our best to help.
All the best,
Marin
the Telerik team
I cannot extrapolate the logic and the difficulty you are having from a screenshot that does not even contain anything related to the RadToolTip. I am not sure how you create and render the controls, yet what I can advise is that you set the RadToolTip's Text property to the desired value. I am assuming that in your class you are creating some controls with localized content/properties and then you add them to the page that needs them. If that is the case you can create a RadToolTip programmatically, set its Text property and add it to the page like any other control. If you are still unable to resolve this I advise that you open a support ticket and send us a fully runnable demonstration project that show the issue you are having with the RadToolTIp. Once we are able to reproduce and debug it locally we will do our best to help.
All the best,
Marin
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>