Safari/Chrome issue with User Control

8 posts, 0 answers
  1. Nathan
    Nathan avatar
    3 posts
    Member since:
    Dec 2008

    Posted 25 Jan 2009 Link to this post


    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.
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 28 Jan 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nathan
    Nathan avatar
    3 posts
    Member since:
    Dec 2008

    Posted 28 Jan 2009 Link to this post


    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

  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 29 Jan 2009 Link to this post

    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.
  6. Amol
    Amol avatar
    57 posts
    Member since:
    Apr 2008

    Posted 26 Feb 2009 Link to this post

    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
  7. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 02 Mar 2009 Link to this post

    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.
  8. Petra
    Petra avatar
    1 posts
    Member since:
    Mar 2009

    Posted 24 Mar 2009 Link to this post

    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
  9. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 26 Mar 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017