[Config: ASP.NET v2 on WinXP w/ IIS & Visual Studio .NET 2005]
I would like to build my data pages such that the top of the page
contains a GridView showing the data with 'Enable Select = true'.
Below that I would like to have a FormView, that by default is in
'Insert' mode for creating a new record.
If the user 'selects' a record in the GridView above, I would like to
set the FormView to 'Edit' mode with the 'selected' record data loaded
in it for editing. I would use the built-in editing features of the
GridView, but the page has fixed width margins that make this almost
impossible.
The problem I am having is that during the post-back, the FormView
always gets reset to 'Insert' mode, no matter what I try.
Thanks for any help.
-={ Kyle }=-