By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,289 Members | 3,049 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,289 IT Pros & Developers. It's quick & easy.

Using datagrid

P: n/a
I have a datagrid that bounds by dataview with edit button on each row. When
an edit button is clicked, it goes to another page for editing purpose only.
When save or cancel button is clicked, it needs to come back to same record
or same page that it was in. How can I go back to same page I was in before
by searching the primary key in the datagrid?

Thanks,
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

there's a selected item index property you can access SelectedIndex property

cheers, Lerp

"Paul" <~~*******@phnip.com> wrote in message
news:ee*************@TK2MSFTNGP11.phx.gbl...
I have a datagrid that bounds by dataview with edit button on each row. When an edit button is clicked, it goes to another page for editing purpose only. When save or cancel button is clicked, it needs to come back to same record or same page that it was in. How can I go back to same page I was in before by searching the primary key in the datagrid?

Thanks,

Nov 18 '05 #2

P: n/a
Thanks for the information But, I didn't get too far.

No matter what I do, it will not go to specific page that the data is in.

Do you have a sample code?

Thanks,

"Lerp" <ad***@officience.ca> wrote in message
news:Oe**************@TK2MSFTNGP12.phx.gbl...
Hi,

there's a selected item index property you can access SelectedIndex property
cheers, Lerp

"Paul" <~~*******@phnip.com> wrote in message
news:ee*************@TK2MSFTNGP11.phx.gbl...
I have a datagrid that bounds by dataview with edit button on each row.

When
an edit button is clicked, it goes to another page for editing purpose

only.
When save or cancel button is clicked, it needs to come back to same

record
or same page that it was in. How can I go back to same page I was in

before
by searching the primary key in the datagrid?

Thanks,


Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.