473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

PageIndexChanged Intermittently not working??

Ive been having some weird issues with the microsoft grid control and
its paging feature.

Overview: I have a webform that loads a custom user control. This
user control has several datagrids on it, but I only bind one from the
calling webform based on user selections.

Behavior: Once the grid displays I can go from page 1 to page 2
without any problem. I can also do the same from 2 to 3, 3 to
4...etc. I can also go from 4 to 3 or 3 to 2. Any time I try to go
back to page 1 however, it shows the same records from the previous
page and then shows the remaing records on page 1 if that lists is
longer. So if I have 4 records on page 2 and 6 records on page 1, the
grid will show six records consisting of 4 from page 2 and the last 2
records being correct records for page 1.

Issue: I step throught the code whenever I click on a page. Each
time I choose page, the PageIndexChanged event runs...except when I
select Page 1. Then it just skips the event all together.

How can this happen? Im really confused on this and could use some
advice.

Thanks!
x B. Rubble x
Nov 18 '05 #1
3 1180
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Rubble" <ra****@hotmail.com> wrote in message
news:8a************************@posting.google.com ...
Ive been having some weird issues with the microsoft grid control and
its paging feature.

Overview: I have a webform that loads a custom user control. This
user control has several datagrids on it, but I only bind one from the
calling webform based on user selections.

Behavior: Once the grid displays I can go from page 1 to page 2
without any problem. I can also do the same from 2 to 3, 3 to
4...etc. I can also go from 4 to 3 or 3 to 2. Any time I try to go
back to page 1 however, it shows the same records from the previous
page and then shows the remaing records on page 1 if that lists is
longer. So if I have 4 records on page 2 and 6 records on page 1, the
grid will show six records consisting of 4 from page 2 and the last 2
records being correct records for page 1.

Issue: I step throught the code whenever I click on a page. Each
time I choose page, the PageIndexChanged event runs...except when I
select Page 1. Then it just skips the event all together.

How can this happen? Im really confused on this and could use some
advice.

Thanks!
x B. Rubble x

Nov 18 '05 #2
Unfortunately, I havent figured this out. It really appears to be a
bug, but I cant verify.

Do you have any suggestions?

Thanks,
x B. Rubble x
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message news:<#s*************@TK2MSFTNGP12.phx.gbl>...
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]

Nov 18 '05 #3
Please post the original question and i would be happy to take a look

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Rubble" <ra****@hotmail.com> wrote in message
news:8a************************@posting.google.com ...
Unfortunately, I havent figured this out. It really appears to be a
bug, but I cant verify.

Do you have any suggestions?

Thanks,
x B. Rubble x
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message

news:<#s*************@TK2MSFTNGP12.phx.gbl>...
Your post went unanswered. Have you resolved this issue?

--
Regards,
Alvin Bruney [ASP.NET MVP]

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike | last post by:
I am working on an application originaly developed in VB5.0/6.0 that has a mdi parent/child forms. I created a VB.net 2003 program with a couple of forms, compiled it as a dll and registered it as...
3
by: Rick Strahl [MVP] | last post by:
Hi all, I'm loosing my mind <g>... I have a datagrid and I can't for hte live of me not get the PageIndexChanged event to fire in my codebehind form. <asp:datagrid id="dgErrorLog"...
0
by: MikeG | last post by:
Hi, I have a web page with a datagrid wich shows a view on miltidimensional data from analysis server. I want to restrict the data access by not repopulating my datasource when changing page. I...
1
by: Long Le | last post by:
I checked to see if its wired correctly: private void InitializeComponent() { this.DataGrid1.PageIndexChanged += new...
0
by: JenHu | last post by:
Hi experts, I am having trouble calling the cached dataview session and dataview.rowfilter session in the pageIndexChanged event. Currently, if user goes to page 2, the datagrid displays data...
2
by: aabid | last post by:
We have a dotnet 2.0 application with sql server 2005 at the backend. Since yesterday morning we get the above message intermittently. At one moment I am connected and the page loads perfectly...
1
by: Rick Droske | last post by:
In the PageIndexChanged event of an ASP.Net 2.0 GridView the Rows property has rows but the DataKeys property has 0 Items ? This definitely seems like a bug to me. Has anyone come up with a good...
3
by: =?Utf-8?B?RVF1QWw=?= | last post by:
Hi, We have an application developed in VC2005 with mixed code, primarily C++ but using a C# dll for database access (DBUploader), the dll exposes a C++ interface. We are experiencing...
4
by: Peter | last post by:
I want to call a JavaScript on PageIndexChanged event, how do I do that? Thank You Peter
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.