Posted on: 6/18/2015 10:47:11 AM | Views : 678

I have a page with a Gridview, a couple of search parameters to filter the returned records, and a Formview to display details of the selected row in GridView. So far so good...
Now, I want to refer to that page from another page, passing a Queryparameter so that a particular record is displayed.
In order to make this work I inserted a parameter that counts the times the Gridview has been rendered. If the Queryparameter is not NULL and the counter = 1, then the pages search parameters are bypassed and the requested record is displayed. Afterwards any new search bypasses the queryparameter portion as the counter is > 1.
This works too... BUT, what isn't working is the Formview:
Once I select the gridview's row -which is just one and therefore wouldn't need to be selected anyway-, the counter jumps to 2 and the displayed record in the Gridview disappears.
I am a beginner and complete autodidact and&nb ...

Go to the complete details ...