I have a Status Column in my GridView which has got two values of "Deleted" and "Released" . When user open the page , it shows all the data included deleted and released . Then user use Status Filter to see just Deleted or Released ,or both (1.jpg).
The scenario that my client looks for is , when user open the page , it just shows the Released items and in case user wants to see deleted , it use Status filter to see deleted items as well.
For that purpose I have used the code bellow
However by using the above code , the Deleted filter remove from filter options (2.jpg)
I need the data doesn't show deleted items in Gridview at the begining , however we have Deleted in the list of filters. It means I need to tick the Released in list of filters , when page loads in code behind(3.jpg)
I'd be thankful you guide me how I can implement that