I have a page for searching and the search result will be shown in gridview control. I have a button called Clear to clear out the search result in gridview and also the text box where user enter the search criteria.
At first, i did the Clearing by doing page refresh print("Response.Redirect(~/blah/search.aspx");
but i'm not sure if that's the best way to clear a page. Would it be better to set the text box to string empty and set the gridview datasource to Nothing then bind it?