如何在gridview中显示鼠标悬停模型弹出窗口? [英] How to show model popup on mouseover in gridview ?

查看:88
本文介绍了如何在gridview中显示鼠标悬停模型弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii,

之前我使用dhtmltooltip进行鼠标悬停。当用户鼠标悬停在gridviews特定列上时,此工具提示会显示内部数据。但是如果大数据.. tootip超出了屏幕并且无法读取所有数据..



现在我要做的是我想要显示弹出窗口在鼠标悬停的scrren中间,显示所有内部数据...看起来很漂亮。我怎么能这样做..我以前做的事情如下所示



 dhtmltooltip  {
职位 绝对;
width 150px;
border 2px纯黑色;
padding 2px;
background-color lightyellow;
可见性 hidden;
z-index 300;
/ * 删除下面的行以删除阴影。下面的行应始终显示在此CSS * /
过滤器 < span class =code-keyword> progid:DXImageTransform.Microsoft.Shadow(color = grey,direction = 135);
}

< / 风格 >


btnCollapse Attributes .Add(onmouseover,ddrivetip(' + DataBinder .Eval(e。 Row DataItem ,HeadingSummary)。ToString()。替换(\ n,)。替换(\ r,)。替换(' ,\\') + ',''));
btnCollapse Attributes .Add(onmouseout,hideddrivetip());

解决方案

你可以访问这里寻求帮助......



http://forums.asp.net/t/1808318.aspx [ ^ ]







http://www.devexpress.com/Support/中心/问题/详情/ Q471149 [ ^ ]


如何在GridView中使用ModalPopUpExtender? [ ^ ]



网格视图中的模式弹出窗口 [ ^ ]



看看这个解决方案..

Hii,
Previously i am using dhtmltooltip for mouseover. when user mouseover on gridviews perticular column this tooltips shows inside data. but if the large data .. the tootip goes beyond the screen and was unable to read all data ..

Now what i want to do is i want to show popup on the middle of the scrren on mouseover and display all inner data in that .. which looks beautiful . How can i do that .. previoulsy i was doing as mention in following

#dhtmltooltip{
position: absolute;
width: 150px;
border: 2px solid black;
padding: 2px;
background-color: lightyellow;
visibility: hidden;
z-index: 300;
/*Remove below line to remove shadow. Below line should always appear last within this CSS*/
filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}

</style>


btnCollapse.Attributes.Add("onmouseover", "ddrivetip('" + DataBinder.Eval(e.Row.DataItem, "HeadingSummary").ToString().Replace("\n", "").Replace("\r", "").Replace("'", "\\'") + "','')");
                    btnCollapse.Attributes.Add("onmouseout", "hideddrivetip()");

解决方案

you may visit here for help...

http://forums.asp.net/t/1808318.aspx[^]

or

http://www.devexpress.com/Support/Center/Question/Details/Q471149[^]


How to use ModalPopUpExtender in GridView?[^]

Modal popup in grid view[^]

Have a look at this solutions..


这篇关于如何在gridview中显示鼠标悬停模型弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆