> >>> Hi!
> >>> I have one page with a GridView. Their I can select one item and edit
[quoted text clipped - 28 lines]
>
> Joe
Hi joe...
in one of our project we did a similer thing...
but in our case we did used a searchtemplate... searchtemplate
basically a object structure where all the necessary objects are
saved..
from ui we constract the searchtemplate onject depending on user input
and then we pass the templatein businesslayer... businesslayer takeout
the necessary stuff and perfrom search operation and return the
resutl...
after the result got page... the searchtemplate is saved in session
for future use... if we navigate way from the page and come back to
the page in same session any time.. we check in pageload that if
existing searchtemplate is already in session or not... if exists
rebind the grid with search result... untill the user change the ui
search criteria and submit we dont change the search criteria...
one more thing... if you dont have to go to another page.. may be you
can use multiview of asp.net 2.0 in that case page will automatically
every thing in viewstate...
Thanks
Md. Masudur Rahman (Munna)
Kaz Software Ltd.
www.kaz.com.bd
http://munnacs.110mb.com
Joe Kovac - 16 Jul 2007 11:01 GMT
>>>>> Hi!
>>>>> I have one page with a GridView. Their I can select one item and edit
[quoted text clipped - 50 lines]
> www.kaz.com.bd
> http://munnacs.110mb.com
Hi Masudur,
I think you found a good solution for your tasks. As I do have many
pages with a similar construction, I do not want to change to much
(meaning multi view is not really wanted).
Saving the separate states of each control might work. Even nicer would
be if I could get the states from the previous page somehow without
saving them.
Regards, and thanks
Joe