I am not able to get paging to work correctly in the webdatagrid.
I have a new blank ASP.NET project and have just a webdatagrid control. I create a simple datatable with 1 column and 10 rows in the code-behind and set the grid's datasource to the datatable's DefaultView object in the Page_Load() method.
- PageSize = 2
- PagerMode = Numeric
- Ajax is enabled
- Auto generate columns is NOT enabled
When I run the project, the grid initially displays as expected with the 1st two rows, and the numeric pager at the bottom with 5 page link buttons. Now, when I click on any of the pager buttons, the grid seems to refresh but still only displays the 1st two rows. It does not display the correct rows.
Can anyone assist in figuring out why this doesn't work?
I'm including my ASPX and ASPX.CS files.
Thank you!
Hello Sanjay,
Thank you for posting in our community.
I have created and attached a small sample illustrating the desired behavior. Please let me know if you need more information.
4048.Sample.zip
Hi Martin
I'm trying to implement custom angular infragistic grid populated from a call to an api that's has a server side paging which displays 10 records and has page next and page previous.
Do you have a sample like that ?
Thanks
Ameur
Hi Ameur,
What I can suggest is to take a look at our documentation page about grid remote data operations.
Please keep in mind that this section of the forums is about our Ultimate UI for ASP.NET toolset. In the future, please make sure that your queries are submitted in the corresponding section in our forum. This way we can address your issues more accurately.
Thank you for using Infragistics components.