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

Grid Mouse Over

4 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Omlac
Top achievements
Rank 1
Omlac asked on 21 Oct 2008, 01:44 PM
I have been trying to add a javascript function to display information when there is a mouse over a grid, and i want the message to disapear on its own after a (reasonably)short time, say a message that just say "use ctr + shift to select multi rows", but i cant seem to find this info, does anyone know how to do it or where to find info on how to do it.

4 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 21 Oct 2008, 02:05 PM
Hello Omlac,

You can add a tooltip to the rows of the grid as shown below to achieve the required scenario.
cs:
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) 
    { 
        if (e.Item is GridDataItem) 
        { 
            GridDataItem dataItem = (GridDataItem)e.Item; 
            dataItem.ToolTip = "use ctr + shift to select multi rows"
        } 
    } 

Thanks
Princy.
0
Omlac
Top achievements
Rank 1
answered on 22 Oct 2008, 06:24 AM
Thank you very much
0
Shinu
Top achievements
Rank 2
answered on 22 Oct 2008, 06:38 AM
Hi Omlac,

You can also refer the following help article to get details about adding tooltips to different Grid items.
Adding tooltips for grid items

Thanks
Shinu.
0
Omlac
Top achievements
Rank 1
answered on 22 Oct 2008, 09:17 AM
Thank you vey much.

Tags
Grid
Asked by
Omlac
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Omlac
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or