[英]ASPxGridView - “parameter name: index” error
Does anyone know what does means "parameter name: index" error while performing callback on the aspxgridview
? 有谁知道在
aspxgridview
上执行回调时,什么意思是“参数名称:索引”错误? When I run the grid.PerformCallback()
command, I see this error. 当我运行
grid.PerformCallback()
命令时,我看到此错误。
Note: my callback function 注意:我的回调函数
protected void grid_CustomCallback(object sender, DevExpress.Web.ASPxGridView.ASPxGridViewCustomCallbackEventArgs e)
{
grid.DataBind();
}
May be a little late for OP but what solved this for me was to set EnableSynchronization = false
for the control that I was adding items in through javascript. 对于OP可能会有点晚,但是对我来说解决此问题的方法是,为我通过JavaScript在其中添加项目的控件设置
EnableSynchronization = false
。
Clarification: 澄清:
I was adding items to a combobox through the cbFormattingOption.InsertItem(i, v);
我通过
cbFormattingOption.InsertItem(i, v);
将项目添加到组合框中cbFormattingOption.InsertItem(i, v);
method. 方法。 Setting EnableSynchronization to false false for that combobox solved this issue.
将该组合框的EnableSynchronization设置为false false可解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.