Jump to content
Xtreme .Net Talk

[ASP.NET 1.1] Dynamically populating the page with pages numbering


Recommended Posts

Posted
Hey guys i'm trying to achieve this in ASP.NET 1.1, dynamically populating my page with webcontrols into a table, however, i only want the page to have like 5 webcontrols in the table in each page, and i want to have this little page numbering like most website does, see attachment, so how do i achieve this, i'm a n00b at this, thanks guys.
Posted

Use a datagrid with template columns and paging turned on. Add the controls to the template column on item created.

 

While that may not be the necessarly correct way (not sure what context you're doing this in), it's the most common method I've seen...

Posted

So would this automatically add the numbering? i.e. the image i posted, and can i hardcode a limit of how many items per page?

 

Thanks for your help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...