problem with pagestate when two links in aspx page
- by TT.LTT
I have two links in my aspx page.
one link "A" when i click it ...it is downloading some document when i click it
other link "B" when I click it ....it redirects me to some other page.
Both links triggers function from code behind.
Both links works fine when i first come onto page but when i click A it shows me message to download it "open" "save" "cancel"
problem is when i click cancel I remain on the same page but now no links work neither link A nor link B.
I guess there is some problem with the state my page is in . How i can avoid this?
Code so far:
<asp:Linkbutton ID="linkbutton1" runat="server" Text="A" onClick="Codebehindmethod" />
<asp:Linkbutton ID="linkbutto2" runat="server" Text="B" onClick="Codebehindmethod1" >