C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




DataList Paging?


Posted Date: 09 May 2008      Total Responses: 2

Posted By: Chepuri Hariprasad.       Member Level: Silver     Points: 1


Hi,
I want display the pagenumbers like (Prev 1,2,3,4...Next) Format in datalist or repeater control?
Data is comes dynamically from Database.
its urgent...

thanks.




Responses

Author: Giribabu    10 May 2008Member Level: GoldRating:     Points: 2
You could handle the ItemCreated event and check if: e.Item.ItemType ==
ListItemType.Pager.

If it is, you are creating the pager controls, here you can inspect and
modify the controls collection using e.Item.Controls property. You can
remove and reinsert these controls and apply any formatting you like.

and check another example
http://www.codeproject.com/KB/aspnet/DataListPaging.aspx


Author: karthekeyan    11 May 2008Member Level: DiamondRating:     Points: 2
aspalliance.com/das/datalistpaging.aspx


Post Reply
You must Sign In to post a response.
Next : div problem
Previous : DataList Paging?
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing

Contact Us    Privacy Policy    Terms Of Use