如何在 UltraWebgrid 中添加超链接列,将我重定向到弹出窗口
我对 Infragistics 控件相当陌生,发现很难向 ultraweb 网格添加超链接列。谁能帮我解决这个问题。
目前,我正在将来自数据库的数据绑定到网格。 对于此数据,我需要添加一个超链接列“查看”,它将我重定向到弹出窗口。 我需要将此页面中的一些值传递到弹出窗口。
如果这可以在 Javascript 上完成,需要指针。 我无法在任何地方获取代码。
如果有人能帮助我,那将非常有帮助
, 苏尼塔
I am pretty new to Infragistics controls and finding it hard to add a hyperlink column to the ultraweb grid. Can anyone help me out with this.
Currently, I am binding the data coming from the Database to the grid.
To this data I need to add a hyperlink column "View" that will redirect me to a popup.
I need to pass some values from this page to the popup.
Need pointers if this can be done on Javascript.
I am unable to get the code anywhere.
It would be really helpful if someone can help me out
Regards,
Sunitha
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您了解 HTML,那么实际上做起来非常简单。在 UltraGrid 的初始化 RowLayout 方法中,引用您希望超链接进入的单元格,并在文本属性中使用 HTML 放置链接,并在 HTML 中包含要传递到弹出窗口的参数。
如果您使用的是 Infragistics 的最新版本,它们有一个可供您使用的模态弹出窗口,该窗口相当容易集成和使用,并且您不需要 javascript 弹出窗口。您可以使用 ClientSideEvent BeforeSelectChangeHandler 打开模态弹出窗口,并通过引用行中的其他单元格将值传递到其中。
If you know HTML it is actually pretty simple to do. On the Initialize RowLayout method of the UltraGrid and reference the cell you want the hyperlink to go into and within the text property place the link there using HTML and include parameters within the HTML to pass to the popup.
If you are using a fairly recent version of Infragistics, they have a Modal Popup window that you can use which is fairly easy to integrate and use, and with this you do not need a javascript popup. You can use the ClientSideEvent BeforeSelectChangeHandler to open the Modal popup and pass values into there by referring to other cells within the row.