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

Safari/Chrome issue with User Control

7 Answers 197 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 25 Jan 2009, 08:41 PM

I have created a Web User Control (.ascx) file that contains a tooltip for a <asp:Label> element.  After inserting multiple of the user controls onto a page, the tooltip works correctly in IE and Firefox, but fails to show up at all in Chrome and Safari.  In the Page_Load routine for the User Control, I generate a unique id for each instance of the control and set the 'TargetControlID' value of the tooltip and the 'ID' value of the Label to a this unique id.   Any help here would be appreciated.  I have lots of tooltips working in .aspx pages and have never ran into this issue.

7 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 28 Jan 2009, 10:15 AM
Hello Nathan,
I tried to reproduce the problem you describe, but to no avail - please find my test page attached. Could you please prepare and send us a simple test project, demonstrating the problem, so that we can research what is causing it?

Kind regards,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nathan
Top achievements
Rank 1
answered on 28 Jan 2009, 03:05 PM

Tsvetie,

Thank you for taking the time to work on this problem.  After proving that your example worked, I started adding more features of what I was trying to do.  I have now determined that what actually prevents my RadToolTip from showing up in Safari and Chrome is the use of Height and Width parameters.  It actually does not matter if it is in a User Control or not.... sorry for the misinterpretation of what was causing my issue.  Anyway, below are two examples, the first works in all browsers that I have tried the second works in IE and FF, but not in Safari and Chrome.  For now I believe that I do not have to use the Height and Width.


<asp:Label ID="TestLabel3" Text="Works in all browsers" runat="server"></asp:Label>
              <telerik:RadToolTip
                 ID="RadToolTip1"
                 TargetControlID="TestLabel3"
                 runat="server">
                 Works!!
              </telerik:RadToolTip><br />

<asp:Label ID="TestLabel4" Text="Does not work in Safari/Chrome" runat="server"></asp:Label>
              <telerik:RadToolTip
                 ID="RadToolTip2"
                 TargetControlID="TestLabel4"
                 runat="server"
                 Width="142" Height="85">
                 Only IE and FF!!
              </telerik:RadToolTip>   


Regards,
Nathan

0
Tsvetie
Telerik team
answered on 29 Jan 2009, 06:44 AM
Hi Nathan,
I tested the code you sent in your last post and indeed, I was able to reproduce the problem in Safari and Chrome, but only with the Q3 2008 SP1 version of the RadControls for ASP.NET AJAX (version number 2008.3.1125). I was not able to reproduce it before, as I was using the latest version of the suite, namely version Q3 2008 SP2, with version number 2008.3 1314.

That is why, in case you just update your DLL to SP2, you will have no problem specifying the size of the RadToolTip.

Sincerely yours,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Amol
Top achievements
Rank 2
answered on 26 Feb 2009, 01:53 PM

Hi Tsvetie,

I am getting the same problem with Chrome ,first time it works well but , when i Scroll the page down then the tool tip position is far above the mouse pointer.  it works fine in IE And Fire Fox .   

I tried with the latest Dll Version 2008.3 1314 still i am getting the problem with tool tip.
can you please help me in this issue.


Thanks & Regards

Amol Wable
0
Tsvetie
Telerik team
answered on 02 Mar 2009, 04:57 PM
Hello Amol,
Your problem seems different than the one Nathan described. As I was not able to reproduce it with our online demos, I suppose there is something specific to your setup that causes the positioning problem.

That is why, could you please prepare send me a simple running project, with which I can reproduce the behavior you describe locally and investigate what is causing it?

Regards,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Petra
Top achievements
Rank 1
answered on 24 Mar 2009, 10:07 AM
Hello.

I am also having a problem with user control. 
I have a web user control which contains one button with button event and other pages contain this user control. If user opens page with user control in mozilla or ie and clicks on button the button event is fired. But in chrome the button event is not fired. User must click on button for the second time to fire the event. 
I just can't figure out why this is happening. Any suggestions?

Petra
0
Tsvetie
Telerik team
answered on 26 Mar 2009, 04:35 PM
Hi Petra,
We are not aware of such a problem. Could you please prepare and send us a simple running project, demonstrating the behavior you describe? As you cannot attach files in forums, please open a new support ticket in order to send us the test project.

Best wishes,
Tsvetie
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Nathan
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Nathan
Top achievements
Rank 1
Amol
Top achievements
Rank 2
Petra
Top achievements
Rank 1
Share this question
or