This is kind of a mixed bag of questions, wasn't sure how to title it but here are my main queries:
- I have a page that contains a gridview and a multiview. Once a row is selected on the gridview, a form in the multiview is then filled with the row's values. How do I make it so that when I navigate between the views of the multiview (I have 3), the page does not refresh and go to the top? It's annoying to have to scroll back down to see the multiview each time you press a button to navigate through it. I was thinking of putting an ID in the markup code but the button doesn't actually refresh the page it just executes the NextView command.
- Every view in the multiview has a "save" button that saves the changes. After saving, the changes don't reflect in the gridview until you refresh the page completely. The values in the multiview don't update because the gridview doesn't refresh. Is there a way to have the values in the gridview change and thus correctly filling in the multiview? Would it also be possible to maintain that gridview's page, so that the table is refreshed but the user doesn't have to sift through all the pages to get back to the row in question?
- Would it be possible to add a scroll bar to a GridView if it surpasses a certain height or width, to fit larger tables into a smaller area?
Most of the issues I have are with post-back refreshing stuff. Since a chunk of my system is based around editing with gridviews and forms, it's very annoying to have to refresh then sift through a paginated gridview just to go back to the row that was edited. Sorry for so many questions! They are all tied together by ASP.NET so I figured having them all in one post would be ideal.