Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2008

Tip: Looking for answers? Try searching our database.

pagination in datagrid in asp.net 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AVL - 24 Mar 2008 13:36 GMT
Hi,
I've a requirement wherein I need to create datagrid dynamically along with
the pagiantion implementation in aspx page. I've created the grid dynamically
but i've problem with the paging event..
This dynamcially binded event isn't firing...when I click on the page number..

Any articles on dynamically adding datagrod along with events like
pageindexedchaged, itemdataboun etc//
Cowboy (Gregory A. Beamer) - 24 Mar 2008 14:23 GMT
Here are a couple of ideas:

1. Check your code behind and make sure you aren't rebinding every time.
This is a very common error.
2. How are you binding the paging event? This could be an issue, especially
if you are binding before the viewstate is loaded, which will overwrite your
new bind.

This assumes you are just dynamically binding the exsiting ASP.NET DataGrid
(or GridView). If you are building your own as a derived class, you may have
overwritten something important.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************

| Think outside the box!

*************************************************
> Hi,
> I've a requirement wherein I need to create datagrid dynamically along
[quoted text clipped - 7 lines]
> Any articles on dynamically adding datagrod along with events like
> pageindexedchaged, itemdataboun etc//

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.