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

[Solved] RadToolTip in DNN

10 Answers 141 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Raymund
Top achievements
Rank 1
Raymund asked on 21 May 2008, 08:27 AM
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

10 Answers, 1 is accepted

Sort by
0
Accepted
dmayer
Top achievements
Rank 2
answered on 21 May 2008, 09:14 PM
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>

0
Raymund
Top achievements
Rank 1
answered on 22 May 2008, 04:13 AM
Hi darcy,

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

Thanks again,
Raymund
0
Raymund
Top achievements
Rank 1
answered on 22 May 2008, 02:54 PM
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
0
dmayer
Top achievements
Rank 2
answered on 23 May 2008, 01:16 AM
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
0
Raymund
Top achievements
Rank 1
answered on 26 May 2008, 03:16 AM
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
0
Svetlina Anati
Telerik team
answered on 27 May 2008, 12:05 PM
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
0
Raymund
Top achievements
Rank 1
answered on 28 May 2008, 03:01 AM
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
0
Tervel
Telerik team
answered on 29 May 2008, 07:42 AM
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
0
Raymund
Top achievements
Rank 1
answered on 30 May 2008, 03:56 AM
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
0
Tervel
Telerik team
answered on 30 May 2008, 07:03 AM
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
Tags
ToolTip
Asked by
Raymund
Top achievements
Rank 1
Answers by
dmayer
Top achievements
Rank 2
Raymund
Top achievements
Rank 1
Svetlina Anati
Telerik team
Tervel
Telerik team
Share this question
or