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

radgrid not appearing in tooltip

11 Answers 166 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Michael Josiah
Top achievements
Rank 1
Michael Josiah asked on 03 Jan 2008, 01:01 PM
With the latest build I cant get the radgrids to appears inside the tooltips anymore. Basically the tooltip will not appear if there is a grid inside it.

11 Answers, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 03 Jan 2008, 03:09 PM
Hi Michael Josiah,

I tested the scenario you have described, however, I was no able to reproduce the problem you experience. Please, send me a simple running application which reproduces the problem and a list of simple steps for reproducing it so that I can test, research it and do my best to help you.

Looking forward to receiving your reply.

Kind regards,
Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael Josiah
Top achievements
Rank 1
answered on 04 Jan 2008, 08:28 AM
Its going to be very hard to reproduce this error as it only appears on one of the projects I am working on and not the others. This suggests a problem with my setup for that particular project. The error I get when I try to add another prometheus control to a tooltip is

"sys.webforms.pagerequestmanager is null or not an object"

Any ideas as to what causes this? I am guessing that its probably something to do with my web.config but I am not sure.
0
Michael Josiah
Top achievements
Rank 1
answered on 04 Jan 2008, 09:15 AM
Ah no need, I figured out what the problem was. Seems to have something to do with <xhtmlConformance mode="Legacy"/>
0
Michael Josiah
Top achievements
Rank 1
answered on 04 Jan 2008, 11:07 AM
I am still having a problem. Now I get the following javascript error

this._owner.GridDataDiv is null or not an object

Any ideas? Here is the aspx code that looks simple enough but is the cause of the problem.

<%

@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Namespace="System.Web.UI" TagPrefix="asp" %>

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml">

<HEAD>

<title>Relationship</title>

<style type="text/css">

.style1

{

width: 100%;

}

</style>

</HEAD>

<body>

<form id="Form1" method="post" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<table height="100%" cellSpacing="0" cellPadding="8" width="100%">

<tr height="65">

<td class="header">

&nbsp;</td>

</tr>

<tr>

<td class="main">

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="Button4">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="txtdonor"

LoadingPanelID="RadAjaxLoadingPanel1" />

<telerik:AjaxUpdatedControl ControlID="RadToolTip1" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"

height="75px" width="75px">

<img alt="Loading..."

src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading7.gif") %>'

style="border:0px;" />

</telerik:RadAjaxLoadingPanel>

<br />

Please select an existing record :

<asp:Button ID="Button5" runat="server"

Text="Button" />

<br />

<br />

<asp:TextBox ID="txtdonor" runat="server" BackColor="#BDD0EE"

Font-Underline="True" Width="256px" ></asp:TextBox>

<telerik:RadToolTip ID="RadToolTip1" runat="server" Position="MiddleRight"

ShowEvent="OnMouseOver" TargetControlID="button5" Title="Search"

Width="300px" ManualClose="True" Skin="Default"

Height="200px">

&nbsp;<table class="style1">

<tr>

<td>

Reference

</td>

<td>

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td>

Surname

</td>

<td>

<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td>

Postcode

</td>

<td>

<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>

</td>

</tr>

<tr>

<td>

&nbsp;</td>

<td>

<asp:Button ID="Button4" runat="server" CssClass="btn" Text="Quick Search" />

</td>

</tr>

</table>

<br />

<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" Skin="Outlook">

<ExportSettings>

<Pdf FontType="Subset" PaperSize="Letter" />

<Excel Format="Html" />

</ExportSettings>

<MasterTableView CommandItemDisplay="None"

CurrentResetPageIndexAction="SetPageIndexToFirst" Dir="LTR" Frame="Border"

TableLayout="Auto">

<RowIndicatorColumn CurrentFilterFunction="NoFilter"

FilterListOptions="VaryByDataType" Visible="False">

<HeaderStyle Width="20px" />

</RowIndicatorColumn>

<ExpandCollapseColumn CurrentFilterFunction="NoFilter"

FilterListOptions="VaryByDataType" Resizable="False" Visible="False">

<HeaderStyle Width="20px" />

</ExpandCollapseColumn>

<EditFormSettings>

<EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">

</EditColumn>

</EditFormSettings>

</MasterTableView>

<ClientSettings>

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

</ClientSettings>

</telerik:RadGrid>

</telerik:RadToolTip>

<br />

<br />

</td>

</tr>

<tr height="35">

<td style="BORDER-TOP: #ffffff 1px solid" align="right">

&nbsp;&nbsp;&nbsp;</td>

</tr>

</table>

</form>

</body>

</

HTML>




0
Michael Josiah
Top achievements
Rank 1
answered on 04 Jan 2008, 11:20 AM
I think I know what the bug is (YES IT IS A BUG). Add a grid to a toolip control then enable the scrolling feature of the grid. Doing this causes the problem. Telerik can you please confirm this.

Thanks
0
Vlad
Telerik team
answered on 04 Jan 2008, 01:27 PM
Hi Michael,

Unfortunately you are right. We have fixed the problem and the fix will be available after a week.

We have updated your telerik points.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John Snyder
Top achievements
Rank 1
answered on 04 Jan 2008, 03:56 PM
I am also having an odd issue with the controls where I am getting the following error:

"sys.webforms.pagerequestmanager is null or not an object"

Just for a little background, I am trying to place an AjaxPanel on the site but am getting an error.  I did not have this problem in some of my other applications I have made.

I removed this line from the web.config and the error went away, but I don't know if this is what I should have done.

<xhtmlConformance mode="Legacy"/>

Can I expect to see this new fix that you are going to release in a week fix this issue?

0
Tervel
Telerik team
answered on 07 Jan 2008, 03:59 PM
Hello Dustin,

Please refer to the following blog post by Scott Gu: Gotcha: Don't use <xhtmlConformance mode="Legacy"/> with ASP.NET AJAX


Best egards,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Michael Josiah
Top achievements
Rank 1
answered on 08 Jan 2008, 07:05 PM
I have encountered some more problems. This time try to add about 5 tooltip controls, then add a grid to one of them. Enable the clientside row select and the same problem occurs. If I disable the clientside row select then everything works fine.
0
EmpowerIT
Top achievements
Rank 2
answered on 15 Jan 2008, 02:05 AM
I'm also having problems with embedding a RadGrid in a RadToolTip.

I've got the RadGrid as part of a seperate usercontrol which I then load inside the RadToolTip.
The problem is that the style/skin of the control seems not to load correctly.

Any help would be appreciated
0
Tsvetie
Telerik team
answered on 16 Jan 2008, 07:45 AM
Hi EmpowerIT,
The problem with the skin of the RadGrid is actually caused by MS AJAX, on top of which all Prometheus cotnrols are built. The MS AJAX engine is not so advanced as to register <link> CSS tags coming from an AJAX request. Thus, the calender skin is simply not registered and lost.

To overcome the problem you should manually add a reference to the grid skin to the <head> of the page, e.g.:

<link rel="stylesheet" type="text/css" href="Skins/Default/Grid.Default.css"></link>

Best wishes,
Tsvetie
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Michael Josiah
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Michael Josiah
Top achievements
Rank 1
Vlad
Telerik team
John Snyder
Top achievements
Rank 1
Tervel
Telerik team
EmpowerIT
Top achievements
Rank 2
Tsvetie
Telerik team
Share this question
or