I have 3 asp:button's in a page, two buttons are calling different other pages when they clicked and
one is to refresh the self page.
'Lots of other stuff
<asp:button Id="doCheck" runat="server" text="Check" onClientClick="BeforeCheck()">
<asp:button Id="doRefresh" runat="server" text="Refresh">
<asp:button Id="doContinue" runat="server" text="Continue">
doCheck calls Begin.aspx with V=Y (I am passing this as query string)
dpRefresh calls Begin.aspx with V=N (or without V value)
doContinue calls Pickup.aspx
//Doing some calculation here and assigning to hidden fields before submission.
theMain.action ="Begin.aspx?V=Y&NUM=<% response.write(sID)%>";
Once I click doRefresh, its working and carrying 'V' value as 'Y'
after that, if I place mouse on doRefresh button, in status bar, its showing
in button click event doRefresh_click, I assigned value for 'V' as 'N'. But this event firing after page_load..
I think its becasue I am calling self page.. in page_load I wrote Request("V").. Its taking value as 'Y'
How to solve this issue? How can I change the value of 'V' once user clicks Refresh button and then Submit..