i have this code that refresh the whole page:
Protected Sub btnRefresh_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRefresh.Click
Response.Redirect(Page.Request.Url.ToString())
End Sub
I have a dropdownlist that display category and that if I select Toys category from the Dropdownlist it display the products in Toys category in the RADGrid. I would then update the product info thru a RADWindow and then close the RADwindow. At this point, i would click the refresh button to verify the updated info. But whenever I clicked the refresh button it refeshes the page and would bring me to Fruits category. Fruits category is the default vaue in the SQLDataSource.
How do i refresh only the grid and that the Toys category remain?