469,902 Members | 2,009 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

return to GridView page from FormView?

What's the best way to return to GridView after editing a detail record in a
FormView so the GridView shows the page with the edited record on it?

I'm using GridView with standard ObjectDataSource, no custom paging.

Thanks for any tips on this.
Apr 18 '06 #1
2 3163
If the formView is on the same page then this would have happened upon each
postback automatically (e.g. when the formview is posted back to save). But
if they are on two separate pages then make those pages Redirect to each
other instead of having the Gridview popping up another window for the
FormView. (i.e. the FormView would redirect to the page where GridView is
after saving the data)
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Dabbler" wrote:
What's the best way to return to GridView after editing a detail record in a
FormView so the GridView shows the page with the edited record on it?

I'm using GridView with standard ObjectDataSource, no custom paging.

Thanks for any tips on this.

Apr 19 '06 #2
Thanks Phillip, I already have the FormView page redirecting back to the
GridView page, I was just looking for some way to set the GridView page so it
showed the row that was being edited after it reloads instead of just
displaying the first page.

"Phillip Williams" wrote:
If the formView is on the same page then this would have happened upon each
postback automatically (e.g. when the formview is posted back to save). But
if they are on two separate pages then make those pages Redirect to each
other instead of having the Gridview popping up another window for the
FormView. (i.e. the FormView would redirect to the page where GridView is
after saving the data)
--
HTH,
Phillip Williams
http://www.societopia.net
http://www.webswapp.com
"Dabbler" wrote:
What's the best way to return to GridView after editing a detail record in a
FormView so the GridView shows the page with the edited record on it?

I'm using GridView with standard ObjectDataSource, no custom paging.

Thanks for any tips on this.

Apr 19 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Kyle K. | last post: by
1 post views Thread by joechipubik | last post: by
reply views Thread by ThePurpleCat | last post: by
2 posts views Thread by needin4mation | last post: by
reply views Thread by Q. John Chen | last post: by
5 posts views Thread by =?Utf-8?B?QWRhciBXZXNsZXk=?= | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.