hey..
i have a .aspx form in which i have a combobox holding subjects i retrive from DB table
a submit button cliking on which questions related to that subject are viewed in a gridview..
i do it by calling a function FillGrid() in button click event
i also have pageindexchanging for my gridview in which FillGrid() is again called.. ..
in my FillGrid() function i hv used try catch block if error occurs i want to redirect the page to error page using Response.Redirect()...the problem is this response.redirect is not working..in one of the reason of it that on button click the form is posted twice...coz after reaching to response.redirect statement flow comes back to button click where FillGrid is called()... how can i solve this??or to put simply how can i prevent double posting of form?? thanx..