asp.net - RadGrid.Rebind() 和 RadGrid.MasterTableView.Rebind() 有什么区别?

标签 asp.net telerik webforms radgrid

将 RadGrid 用于 Asp.Net Ajax(来自 Telerik) 我需要重新设置 CurrentPageIndex。 Some examples说下一行代码应该是 myGrid.Rebind() others建议调用 myGrid.MasterTableView.Rebind() .有什么不同?我应该使用哪个?

最佳答案

myGrid.MasterTableView.Rebind()将重新绑定(bind) RadGrid 上的顶级表。
myGrid.Rebind()将重新绑定(bind) RadGrid 上的所有表。

我建议你看看this文章以了解 RadGrid 和 MasterTableView 之间的区别。

关于asp.net - RadGrid.Rebind() 和 RadGrid.MasterTableView.Rebind() 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10044612/

相关文章:

c# - 从网格导出 excel 时出现前导零问题

asp.net - 在 MVC 中控制 SQL 注入(inject)

javascript - 自动滚动到底部

c# - Html 按钮单击在 Firefox 上不起作用

c# - 如何在 Web 表单中将字符串显示为 html 内容

c# - 在 ASP.NET Web 窗体网站上存储和显示图像

javascript 确认 asp.net 按钮从不提交?

c# - 我正在使用大量数据进行比较。是否有将数据分页到数据表的想法

combobox - Telerik ASP.NET MVC 的 Combobox 页面加载

html - 使用 HTML Table 作为数据源将数据绑定(bind)到 Kendo UI Template