hey all,
ok i'm on a datagrid (that has paging turned on) and i select a record which
takes me to a details aspx page. when i click close on the details page how
do i get back to the correct page index i left from?
does anyone have any ideas or article references ?
thanks,
rodchar 4 861
the CurrentPageIndex property of the DataGrid let you get and set the
current page. get the value of the CurrentPageIndex before you jump to
the new page. then set the value of CurrentPageIndex to what is was
when the page get reloaded.
On Thu, 2 Jun 2005 10:55:26 -0700, "rodchar"
<ro*****@discussions.microsoft.com> wrote: hey all,
ok i'm on a datagrid (that has paging turned on) and i select a record which takes me to a details aspx page. when i click close on the details page how do i get back to the correct page index i left from?
does anyone have any ideas or article references ?
thanks, rodchar
do you mean pass it to the new page thru query string and then pass it back
to datagrid page thru the query string?
"Jinsong Liu" wrote: the CurrentPageIndex property of the DataGrid let you get and set the current page. get the value of the CurrentPageIndex before you jump to the new page. then set the value of CurrentPageIndex to what is was when the page get reloaded.
On Thu, 2 Jun 2005 10:55:26 -0700, "rodchar" <ro*****@discussions.microsoft.com> wrote:
hey all,
ok i'm on a datagrid (that has paging turned on) and i select a record which takes me to a details aspx page. when i click close on the details page how do i get back to the correct page index i left from?
does anyone have any ideas or article references ?
thanks, rodchar
Yes, or you can store it in a session variable.
On Fri, 3 Jun 2005 07:03:25 -0700, "rodchar"
<ro*****@discussions.microsoft.com> wrote: do you mean pass it to the new page thru query string and then pass it back to datagrid page thru the query string?
"Jinsong Liu" wrote:
the CurrentPageIndex property of the DataGrid let you get and set the current page. get the value of the CurrentPageIndex before you jump to the new page. then set the value of CurrentPageIndex to what is was when the page get reloaded.
On Thu, 2 Jun 2005 10:55:26 -0700, "rodchar" <ro*****@discussions.microsoft.com> wrote:
>hey all, > >ok i'm on a datagrid (that has paging turned on) and i select a record which >takes me to a details aspx page. when i click close on the details page how >do i get back to the correct page index i left from? > >does anyone have any ideas or article references ? > >thanks, >rodchar
thank you.
"Jinsong Liu" wrote: Yes, or you can store it in a session variable.
On Fri, 3 Jun 2005 07:03:25 -0700, "rodchar" <ro*****@discussions.microsoft.com> wrote:
do you mean pass it to the new page thru query string and then pass it back to datagrid page thru the query string?
"Jinsong Liu" wrote:
the CurrentPageIndex property of the DataGrid let you get and set the current page. get the value of the CurrentPageIndex before you jump to the new page. then set the value of CurrentPageIndex to what is was when the page get reloaded.
On Thu, 2 Jun 2005 10:55:26 -0700, "rodchar" <ro*****@discussions.microsoft.com> wrote:
>hey all, > >ok i'm on a datagrid (that has paging turned on) and i select a record which >takes me to a details aspx page. when i click close on the details page how >do i get back to the correct page index i left from? > >does anyone have any ideas or article references ? > >thanks, >rodchar
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Apostolis K. |
last post by:
I run windows XP and IIS 5.1 and the system doesn't let me to delete or move
folders using FileSystemObject.DeleteFolder(path,force) or
FileSystemObject.MoveFolder(origin,destination). I allow all...
|
by: KB |
last post by:
Hi,
I want to write a Python script that controls and automates a Windows
GUI computation program.
My problem is that I do not know how to quit the Windows GUI program
gracefully with a...
|
by: Jan and Hugh Tonkin |
last post by:
I'm working on a membership database in Access 97 which has 4 datasets, the
main one listing current members.
When somebody ceases membership, I need to move that member's details from
the...
|
by: - Steve - |
last post by:
I'm using Forms Based Authentication.
I've written my code so that when a user does something but has timed out,
it gracefully logs them out and asks them to log back on.
I do this with . .
...
|
by: Mark |
last post by:
Hello,
I'm trying to handle HttpRequestValidationException. If a hacker enters
certain values into a textbox, like "<script>", it will trigger this error. I
understand why .Net has this, but I...
| |
by: Robert |
last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into
some sporadic viewstate errors...usually saying the viewstate is invalid,
eventvalidation failed or mac error.
My web...
|
by: Frank |
last post by:
Hi,
I have a console app that I want to stop gracefully by another program. The
console app already has code to intercept control-c and logoff and so on.
But how do I send a control-c to that...
|
by: Philip Pemberton |
last post by:
Hi,
I'm currently playing around with a little spam filter for my Linksys NSLU2
(I would have used Spamassassin but that's slow even on my 2GHz Athlon64 - on
a 266MHz XScale it's likely to be...
|
by: peter.c.bradley |
last post by:
Hi folks,
I have an Access report that has an unbound text box in the details
section. The report also includes the standard headers and footers.
The details section is populated by a query...
|
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,...
|
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,...
| |
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...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |