473,399 Members | 2,146 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,399 software developers and data experts.

Maintaining CurrentPageIndex

I have an asp.net page (c#) with datagrid bound to a data set. I have
placed a number hyperlinks in the datagrid for Viewing the details of
records, Editing (in a seprate page), etc. What would be best way to
maintain my datagrid's current page when I return from the Details or
Editing page? I prefer not to use the session object, as the user may
be using multiple instances of same page in different browser windows.

One way have thought of is to use an additional parameter (beside the
record id) in NavigateURL holding the CurrentPageIndex. Is there any
better suggestion?

Thanks in advance.

Aug 27 '05 #1
0 770

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

Similar topics

3
by: Meg | last post by:
Hi All, I am having a problem with paging in datagrid and need some idea as to how to handle the problem 1. the datagrid is first filled with a select * all 2. the datgrid shows 10 pages...
1
by: abdulkareem.uk | last post by:
I have an asp.net page (c#) with datagrid bound to a data set. I have placed a number hyperlinks in the datagrid for Viewing the details of records, Editing (in a seprate page), etc. What would be...
0
by: jm | last post by:
I get this error when I click one of the datagrids pages: Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. It is not doing this on the submit as I have this: Sub...
1
by: CW | last post by:
Is this by design or is it a bug? If you have a pageable datagrid. After you delete a row from the grid (which results in a reduction in the number of pages of the datagrid), asp.net throws an...
0
by: JackO | last post by:
I can't seem to find a good example of how someone resolved the currentpageindex error that occurs when I try and page to another page on my datagrid. My subroutine is: Private Sub...
0
by: JackO | last post by:
I am still stuck trying to resolve the CurrentPageIndex problem. I have 3 pages in my datagrid and when I try to go to the second page, I get the error. I modified my code to: Private Sub...
3
by: Franck | last post by:
Hello, in a datagrid, in the ItemDataBound event in some cells a add some javascript that show up an information strHref.Append("<A onclick=\"popupValid();\">"); strHref.Append("<span...
0
by: abdulkareem.uk | last post by:
I have an asp.net page (c#) with datagrid bound to a data set. I have placed a number hyperlinks in the datagrid for Viewing the details of records, Editing (in a seprate page), etc. What would be...
1
by: Rajani | last post by:
Hello, I am displaying data from database in datagrid. DG is having edit and delete features. Pagesize is 10. I have total 12 records(2 pages). Now i am deleting 12th and 11th records. Delete...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.