Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 221
DeveloperDan Avatar asked Apr 06 '12 14:04

DeveloperDan


1 Answers

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.

like image 174
Claudio Redi Avatar answered Nov 15 '22 12:11

Claudio Redi