RadToolTip in DNN

11 posts, 1 answers
  1. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 21 May 2008 Link to this post

    Hi,

        I have a usercontrol that has a RadTreeView in it. Each node of the RadTreeView has a RadToolTip. When I place this usercontrol to DNN, the RadToolTip is displayed very far from its target control. I've also tried this using RadToolTipManager and setting RelativeTo and Position properties but it's still the same. It works fine when I'm not using DNN. Is RadToolTip not yet supported in DNN or am I just missing something?

    thanks,
    Raymund
  2. Answer
    dmayer
    dmayer avatar
    12 posts
    Member since:
    Oct 2012

    Posted 21 May 2008 Link to this post

    I had the same issue...  you may want to try adding this to your skin files.  I think it'll do the trick.

    <script runat="server" language="vb">

      Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
       Dim skinDocType as Control = Me.Page.FindControl("skinDocType")
       If Not skinDocType is Nothing
       CType(skinDocType, System.Web.UI.WebControls.Literal).Text="<!DOCTYPE html PUBLIC ""-//W3C//DTD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"">"
       End If
    End Sub

    </script>

  3. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 21 May 2008 Link to this post

    Hi darcy,

        Thanks a lot! That's what I was looking for.

    Thanks again,
    Raymund
  4. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 22 May 2008 Link to this post

    Hi again,

        After applying this solution, my DNN skin doesn't work well anymore. Is there any way to fix this problem without distorting the skin?

     - Raymund
  5. dmayer
    dmayer avatar
    12 posts
    Member since:
    Oct 2012

    Posted 22 May 2008 Link to this post

    Keep in mind that after you switch it to transitional that everything in your CSS style sheets becomes case sensitive.  If it's not exactly the same it'll not work.

    You may also notice that everything is also probably becoming centered too.

    make sure you have "text-alignment:left" in the BODY tag of the CSS file associated with your skins.

    Hope this helps
  6. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 25 May 2008 Link to this post

    Hi darcy,

        I tried what you told me but my skin is still distorted. I checked my CSS file using this. My CSS file was fine.

    Raymund
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 27 May 2008 Link to this post

    Hi Raymund,

    Our controls are xhtml compliant and they work and look as expected when you have the corresponding <!DOCTYPE> declaration.

    Other controls, however, are designed to work correctly in quirksmode and that is why a conflict may occur.

    We can not tell what exactly happens in your project but it is most probably related to the page's mode. Since we do not have your code we are not able to help because these problems are very specific.

    Would you please send us a sample page with a detailed explanation of the problem along with some screenshots? Once we receive it we will do our best to help.


    Sincerely yours,
    Svetlina
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 27 May 2008 Link to this post

    Hi,

        I think the problem is that my DNN skin's DOCTYPE is HTML 4.0. When I change the doctype to XHTML 1.0 the RadToolTip works fine but my skin becomes distorted. Also, I can't change my DNN skin because I am required to use this particular skin.

    Raymund
  9. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 29 May 2008 Link to this post

    Hi Raymund,

    We tested the RadToolTip control in quirksmode and we came up with the following results:

    1. When the page has a scrollbar and it is scrolled down, the RadToolTip does not position itself as expected. This problem looks fixable and we logged it in our database. We hope to get it done for the Q1 2008 SP2 release.
    2. All RadToolTip's skins and functions work correctly. You wrote "RadToolTip works fine but my skin becomes distorted" - we were not able to reproduce this problem. Would you please open a new support ticket provide some screenshots and a testing page?

    Do you experience other problems except for the mentioned ones? If so, please list them and we will do our best to fix them.

    All the best,

    Svetlina
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
  10. Raymund
    Raymund avatar
    6 posts
    Member since:
    May 2008

    Posted 29 May 2008 Link to this post

    Hi,

       When will be the release for Q1 2008 SP2? For the mean time, I'll be using other custom tooltip controls while waiting for this release.

    Raymund
  11. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 30 May 2008 Link to this post

    Hello Raymund,

    There is not a date set for the SP2 yet, but it should appear sometime mid-to-late June, that is, within less than a month from now.

    Best regards,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top