问题标签 [ultrawebgrid]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
977 浏览

asp.net - 禁用 UltraWebGrid

我有一个 infragistics ultraWebGrid 在 asp.net 的 web 表单中作为选择列表工作。当用户进行行选择时,我想让网格禁用或锁定活动行(到选择行),直到用户最终获得流程

我发现下面的代码作为解决方案

客户端

服务器端:

javascript函数似乎完全符合我的要求,但在回发后重置了网格。另一方面,服务器端代码似乎没有做我想做的事。有任何想法吗?

0 投票
1 回答
394 浏览

asp.net - 如何使用 Java 脚本获取基础设施 UltraWebGrid 的页脚值

我为 Ultrawebgrid 及其工作正常设置了页脚。但对于其他一些用途,我需要访问 ultrawebgrid 的页脚值。所以我需要知道如何通过使用java脚本来获取ultrawebgrid的页脚值。

0 投票
0 回答
260 浏览

asp.net - Ultrawebgrid 页脚在 chrome 中引发错误

我在我的应用程序中有以下代码来设置 Ultrawebgrid 中列页脚的可见性。

这在 Firefox 和 IE 中运行良好,但在 chrome 中显示空引用错误,请查看错误并对此提供帮助

你调用的对象是空的。

说明:执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息。

异常详细信息:System.NullReferenceException:对象引用未设置为对象的实例。

源错误:

在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。

堆栈跟踪:

Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.ResolveRowLabelStyle(UltraGridRow 行)+3 Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderRowLabelStyleClass(UltraGridRow 行)+37 Infragistics.WebUI.UltraWebGrid.RenderDnLvlHTML.RenderColumnsFooters(Rows9 行)+59

0 投票
1 回答
1351 浏览

asp.net - Infragistic ultrawebgrid:移动滚动条后,行单击在 IE 中被禁用

我需要修复的页面可以UltraWebGrid控制它。

当有更多行可以显示控件时,会出现滚动条。单击一行时,将显示数据详细信息页面。但是,在尝试滚动后,单击一行时,什么也没有发生。比单击要排序的列时,单击再次开始工作。它可以在 Chrome 和 Firefox 下运行。我找不到这个的解决方案。需要帮忙。

这是显示 UltraWebGrid 的页面部分:

为什么这个网格会有这样的行为?还有其他需要配置的吗?

谢谢

0 投票
0 回答
477 浏览

c# - UltraWebGrid not updating properly?

I have a legacy app that uses Infragistics UltraWebGrid and am running into a particularly infuriating issue.

In runtime a column is added with checkboxes. When users hits save, it adds all users that are checked to a db. I have to add code to validate if a checked user is in fact active before allowing the save. I set up my test data where the first one checked in inactive and the second one checked is fine. However, when I debug my code, it SOMETIMES sees that cell.Selected is true, but usually does not (2/10 times). It ALWAYS sees that the 2nd one's cell.Selected is true.

This leads me to believe that UltraWebGrid does some sort of lazy eval and doesn't update the table from the UI thread right away.... what's going on here?

EDIT

Just realized I've been using the cell.Selected property this whole time, which is not equal to Checked... not sure how to get the Checked value out though...

0 投票
0 回答
258 浏览

infragistics - Chrome 中的 UltraWebGrid 可在一台服务器上运行,但不能在另一台服务器上运行

我在舞台服务器上的代码与在生产服务器上的代码相同。在 Chrome on production 中,网格显示正确。在舞台服务器上,网格无法正确呈现。什么可能导致这种情况?

0 投票
1 回答
435 浏览

c# - 获取 RowUpdating 事件中脏的单元格的数据

我在我的 ASP.NET 4.0 应用程序中使用来自 Infragistics 的 UltraWebGrid 来实现网格功能。我为网格中的几列启用了就地编辑。我将此事件的逻辑写为

在后面的代码中。除此之外,我想知道行中的哪个单元格触发了此事件,这意味着更新行中的哪个字段触发了此事件。我发现我们有一个RowUpdatingEventArgsClass 的 Row 属性,但它得到了整行。我想知道该行中的哪个单元格、其列名等是脏的,导致此事件发生。关于这个有什么有用的指示吗?

0 投票
1 回答
361 浏览

.net - Infragistics UltraWebGrid 从 v7.2 升级到 v14.1

我正在升级旧的 Web 应用程序以使用 v7.2 中的 Infragistics v14.1,但似乎 Infragistics.WebUI.UltraWebGrid 组件不再存在。

UltraWebGrid 是否已移入不同的库、被其他库替换或完全删除?

我是 Infragistics 的新手,所以我对各种组件非常不熟悉。

0 投票
1 回答
64 浏览

infragistics - 在 Infragistic ultrawebgrid 中对超链接列进行排序时面临的问题

我正面临在基础设施超网络网格中对超链接列进行排序的问题。我正在使用服务器端排序方法对列进行排序 -GD1_sortcolumn并传递 asc、desc 和其他参数相应地绑定超 webgrid 中的数据,它在这里工作正常,排序也适用于 Name 列。例如,我已经传递了 Name 列和 asc 参数,然后它使用这些参数调用 sp。我得到了带有排序值的数据表,并成功地将数据表与网格绑定。

问题出现在GD1_InitializeRow创建超链接时的方法中。请找到以下代码:

在上面的代码中,我在 JavaScript 函数中传递了两个参数(agentid和)。accountid在绑定上述函数中的超链接列时。它在超链接列中使用 asc 对网格数据进行排序,agentid而不是显示名称为 asc 的排序列。