This is a migrated thread and some comments may be shown as answers.

always right

2 Answers 46 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dave Scott
Top achievements
Rank 1
Dave Scott asked on 29 May 2010, 05:54 PM
Hi
I'm using tooltips to provide instructions and field validation feedback on wizard screens. This all works nicely with the tooltips using a skin confguration:

<

 

telerik:RadToolTip runat="server" SkinId="WizardTips" Animation="Slide" RelativeTo="Element" Width="200px" HideEvent="FromCode" Position="MiddleRight" AutoCloseDelay="0" AnimationDuration="300" ShowDelay="300" HideDelay="300" ShowEvent="OnFocus" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" Skin="MySkin" ></telerik:RadToolTip>

As requested the tooltip appears on the right of my text input boxes but of course when the browser size doesn't support display on the right, the tooltip appears to the left of my input boxes. I appreciate that this is clever but I'd really rather it didn't do this and instead just always displayed on the right even if that means you can't read all the tooltip. Is there a way of doing that?
Thanks in advance.

 

2 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 02 Jun 2010, 01:24 PM
Hi Dave,

In order to remove the dynamic repositioning you should override the repositioning method by including the following script under the ScriptManager's declaration:

<script type="text/javascript">      
             
     Telerik.Web.UI.RadToolTip.prototype._adjustCallout = function()      
  {      
        
  };      
      </script>

Please, test this solution and let me know how it goes.


Sincerely yours,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Dave Scott
Top achievements
Rank 1
answered on 02 Jun 2010, 04:42 PM
Thanks Svetlina , that works a treat!
Tags
ToolTip
Asked by
Dave Scott
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Dave Scott
Top achievements
Rank 1
Share this question
or