A Selected Item in a GridView Does not Stay Selected when Navigating Back to the Page RRS feed

  • General discussion

  • I have a GridView in which I have set the SelectionMode to Single. When I click on an item in that GridView to see additional information about the chosen item, and then click the back button from the second page, the first page does not show the selected item as selected. Instead, the default GridView item is selected. How do I make the chosen item appear as selected when navigating back to the original page? I would rather not use the CacheService (but I will if I have to).
    Saturday, August 9, 2014 8:37 AM

All replies

  • Hi IMOsiris,

    Before navigating to other page, remember the selected item index of the GridView, use the SelectedIndex or SelectedItems properties to set the selected item when you return back to the page.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 11, 2014 7:28 AM