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

Tooltip for Radtextbox

3 Answers 166 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Swapna M
Top achievements
Rank 1
Swapna M asked on 17 Apr 2010, 01:39 PM
HI,
    I have textbox in one of the Radgrid Column.
I want to use tooltip for these textboxes. The tooltip has to show the corresponding Texbox values.
Let me know how to implement this?



Thank You.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 19 Apr 2010, 08:21 AM

Hello Swapna,

If you want to show tooltip for textbox control, then you can try the following approach.

ASPX:

 
    <telerik:GridTemplateColumn>  
        <ItemTemplate>  
            <%# Eval("CustomerID") %>  
        </ItemTemplate>  
        <EditItemTemplate>  
            <asp:TextBox ID="TextBox1" ToolTip='<%# Eval("CustomerID") %>' Text='<%# Bind("CustomerID") %>'  
                runat="server"></asp:TextBox>  
        </EditItemTemplate>  
    </telerik:GridTemplateColumn> 

-Shinu.

0
Swapna M
Top achievements
Rank 1
answered on 20 Apr 2010, 05:38 AM
Hi Shinu,
    In my case, the textbox control in the Radgrid will be an input i.e. i am not binding any data to this particular column.
The user will input data. I am suppose to read this and save it in DB.
    Now the point is that my textbox width in Radgrid is only 100px. If user inputs long data, he must able to view that
data using tooltip.
    Hope you are clear on this. Let me know how to go about doing this?



Thanks.
0
Dimo
Telerik team
answered on 20 Apr 2010, 12:10 PM
Hello Swapna,

Your colleague Hema Raju has submitted a support ticket with the same question - please consult him about the answer, which we have provided, and about any future support communication on the matter.


Dimo
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Swapna M
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Swapna M
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or