GridView - initial load and sort direction
When I show a GridView for the first time I would like to show that the GridView is sorted on a specific column (Asc or Desc) (even if I have not yet clicked any sort columns). So what I do is using an "InitialLoad" variable = True and then I manually set the SortExpression and SortDirection. When user clicks on a sort column I set the "InitalLoad" = False. I don't know if there is a better way do do this?