How to add new links or controls to pager ? RRS feed

  • Question

  • User-1802683206 posted


    I'd like to add First/Last links to be shown on my Form or

    just have a list of pages like in WebControls.DataGrid ?

    How can I add / change UI for pagination ?

    Is there any specific class for that or is that all in the Form class ?




    Monday, April 4, 2005 6:30 PM

All replies

  • User-95607119 posted
    ASP.NET forms have only next and previous buttons if you use form pagination. If you need custom pagination then you have to page your data you show on mobile form not the mobile form itself. It is still good to have form pagination turned on to avoid too long pages. In my WAP applications I have used MobileList control and wrote pagination code by myself. Alos links for first, previous, next and last pages.
    Tuesday, April 5, 2005 1:34 AM
  • User-1802683206 posted

    Hi Qnnn,

    I would like not to change the way built in paging works, just I need 2 links which would set Form.CurrentPage 2 values.

    I think I'll add <FooterTemplate> which would contain 2 Command's.

    I thought there is a class which I could inherit and add / change paging controls.




    Wednesday, April 6, 2005 3:17 PM