What is the difference between RadGrid.Rebind() and RadGrid.MasterTableView.Rebind()?

asp.net, radgrid, telerik, webforms

Solution

`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.

Problem

Using RadGrid for Asp.Net Ajax (from Telerik) I need to re-set the CurrentPageIndex. Some examples say the next line of code should be myGrid.Rebind() while others suggest calling myGrid.MasterTableView.Rebind(). What's the difference? Which should I use?

Original source