Wednesday, May 28, 2014

Prepare pagination on the C# side for a DevExpress ASPxGridView.

whatever.SettingsPager.PageSize = 10;
whatever.SettingsPager.AlwaysShowPager = true;
whatever.SettingsPager.AllButton.Visible = true;

 
 

...is equal to the following:

<SettingsPager PageSize="10" AlwaysShowPager="True">
   <AllButton Visible="True"></AllButton>
</SettingsPager>

 
 

Don't try to be silly and have both.

No comments:

Post a Comment