i want to shows tooltip on my radgrid, below is my code it show s the tooltip
but here there is one problem , it shows same records i means same result on each tooltip
but when i debug the application the testVal will be shows different result in tooltip.
can you plz suggest me or give me a sample code on same.,
i will be very much thanx
protected void gv_ItemDataBound(object Sender,GridItemEventArgs e)
{
string textVal= "";
if(e.Item is GridDataItem)
{
GridDataItem dt = e.Item as GridDataItem;
// here code will come to retrive data frm database
if(ds.Tables[0].Rows.Count >0)
{
testval = ds.Tables[0].Rows[0]["val"].ToString();
}
else
{
testval = " No Records";
}
e.Item.ToolTip = testval;
}
}