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

RadToolTip for row?

3 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mathew
Top achievements
Rank 1
Mathew asked on 26 Jan 2012, 06:01 PM
Hi,

I've searched the forums but haven't been able to see if this is possible.

I've got a radtooltip this is assigned to a control inside a GridTemplateColumn, which works very well.  However it'd be much better if the tooltip could be applied to the entire row.  Since the row doesn't have an ID I'm not sure this is possible, but would be very pleased if it is!

Thanks,
Mathew

3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 26 Jan 2012, 07:28 PM
Hello,


<telerik:GridTemplateColumn>
                        <ItemTemplate>
                            <div id="Div1" runat="server" style="width:100%; height:100%;">
                                <asp:Label ID="Label1" runat="server" Text='<%# Convert.ToBoolean(Eval("Isbool")) == false ? "Federal" : "Private" %>'></asp:Label>
                            </div>
                            <telerik:RadToolTip ID="RadToolTip1" runat="server" Text="sdasdasd" TargetControlID="Div1"></telerik:RadToolTip>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>

Thanks,
Jayesh Goyani
0
Mathew
Top achievements
Rank 1
answered on 26 Jan 2012, 09:05 PM
Hi Jayesh,

Thanks for the sample.  That's how I'd planned on doing it, but was hoping that there was a way it could be done with the columns staying in place, since I might need them for sorting, etc.  At the very least is it possible to manually format the column headers so that they match up with my data?

Thanks,
Mathew
0
Shinu
Top achievements
Rank 2
answered on 27 Jan 2012, 05:09 AM
Hello Mathew,

Check the following forum thread which discussed similar scenario.
Grid w/RadToolTip per Row

-Shinu.
Tags
Grid
Asked by
Mathew
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Mathew
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or