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

ToolTip Is repeating in the grid

1 Answer 57 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 15 Jan 2011, 12:47 AM
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
    <ItemTemplate>
                <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"
                            Width="300px">
                            <Columns>
                            <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">
                                    <ItemTemplate>
                                        <asp:Label ID="lblJobStateName" runat="server" Text='<%# Eval("JobStateName") %>'
                                            Font-Bold='<%# Eval("IsCompleted")%>' />
                                        <asp:HiddenField ID="hidJobStateKey" runat="server" Value='<%# Eval("ID")%>' />
                                    </ItemTemplate>
                                    <ItemStyle Width="200px" />
                                </asp:TemplateField>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="cbIsCompleted" runat="server" AutoPostBack="true" OnCheckedChanged="cbIsCompleted_CheckedChanged"
                                            Checked='<%# Eval("IsCompleted")%>' ValidationGroup='<%# Eval("ID")%>' />
                                    </ItemTemplate>
                                    <ItemStyle Width="80px" />
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </telerik:RadToolTip>
                </div>
                <asp:HiddenField ID="hidIsCompleted" Value='<%# Eval("IsCompleted")%>' runat="server" />
                <asp:HiddenField ID="hidIsCancelled" Value='<%# Eval("IsCancelled")%>' runat="server" />
            </ItemTemplate>
        

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 19 Jan 2011, 02:57 PM
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,
Svetlina
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.
Tags
ToolTip
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or