ToolTip Is repeating in the grid

2 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    87 posts
    Member since:
    Oct 2012

    Posted 14 Jan 2011 Link to this post

    I have placed my grid inside a tooltip and this all is in another grid but the problem is that for the first row of my parent grid the tooltip is same as for the last row. I don't know why this problem occurs.

    Grid is inside a tooltip
                    <asp:Label ID="lblJobStatus" runat="server" Text='<%# FF_JobState.GetJobStateSummary(Container.DataItem) %>' />
                    <div id="divJobStatus" class="tooltip">
                        <telerik:RadToolTip ID="RadToolTipJobStatus" runat="server" CssClass="tooltipBackColor"
                            TargetControlID="lblJobStatus" RelativeTo="Element" HideDelay="3000" HideEvent="LeaveTargetAndToolTip"
                            ShowCallout="true" Position="TopRight" Width="350px" Height="200px">
                            <asp:GridView ID="gvJobStates" runat="server" AutoGenerateColumns="False" ShowHeader="False" CssClass="gridviewSpacing gvJobStates"
                                <asp:BoundField HeaderText="JobState ID" DataField="ID" ReadOnly="true" Visible="false" />
                                    <asp:BoundField HeaderText="Job ID" DataField="JobID" ReadOnly="true" Visible="false" />
                                    <asp:TemplateField SortExpression="JobStateName">
                                            <asp:Label ID="lblJobStateName" runat="server" Text='<%# Eval("JobStateName") %>'
                                                Font-Bold='<%# Eval("IsCompleted")%>' />
                                            <asp:HiddenField ID="hidJobStateKey" runat="server" Value='<%# Eval("ID")%>' />
                                        <ItemStyle Width="200px" />
                                            <asp:CheckBox ID="cbIsCompleted" runat="server" AutoPostBack="true" OnCheckedChanged="cbIsCompleted_CheckedChanged"
                                                Checked='<%# Eval("IsCompleted")%>' ValidationGroup='<%# Eval("ID")%>' />
                                        <ItemStyle Width="80px" />
                    <asp:HiddenField ID="hidIsCompleted" Value='<%# Eval("IsCompleted")%>' runat="server" />
                    <asp:HiddenField ID="hidIsCancelled" Value='<%# Eval("IsCancelled")%>' runat="server" />
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 19 Jan 2011 Link to this post

    Hello Muhammad,

     I examined your code but it seems to be correct and I cannot tell what could be causing the problem you report. Can you please prepare a simple, fully runnable reproduction demo which uses your setup and configuration? You do not have to make it complex, no need to put database, masterPage, UserControl, custom controls, etc - only the two grids bound to a fake programmatic datasource or XML and the way you have configured the tooltip. Once you succeed with this, open a new support ticket and send it to us along with very detailed step-by-step reproduction instructions and explanations of the desired and the actual values shown and once we get a better understanding on what is actually happening we will do our best to help.

    Kind regards,
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. DevCraft R3 2016 release webinar banner
Back to Top