I have two buttons:
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:Button ID="Button2" runat="server" Text="Button" />
How can I determine on pageLoad which one of this two caused the postback?
Is there a short solution as I know there are only two controls that can cause this postback?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…