5

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

4

1 回答 1

9

myGrid.MasterTableView.Rebind() would rebind the top-level table on the RadGrid.

myGrid.Rebind() would rebind all tables on the RadGrid.

I recommend you to take a look to this article in order to understand the difference between RadGrid and MasterTableView.

于 2012-04-06T14:09:44.023 回答