在Gridview中同时使用AppyTooltip和PAging [英] AppyTooltip and PAging simultaneously in Gridview
本文介绍了在Gridview中同时使用AppyTooltip和PAging的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经使用gvName.Rows(i).tooltip
属性在gridview控件中应用了tootip.它工作正常,但是当我将Paging应用于gridview时,出现了错误.我想我错过了Gridview的一些事件.
请帮助我.
I have applied tootip at gridview control using gvName.Rows(i).tooltip
property. It works well, but when I apply Paging to the gridview it''s giving an error. I think I''m missing some event of Gridview.
Please help me.
推荐答案
嗨 Vishv,
请尝试以下操作:
Hi Vishv,
Please try following:
protected void gvName_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.ToolTip = "Yor Tooltip text to be set here...";
}
}
谢谢,
Imdadhusen
Thanks,
Imdadhusen
这篇关于在Gridview中同时使用AppyTooltip和PAging的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文