Author: amodi | Posted on: 11/18/2009 10:41:08 PM | Views : 516

Hello Friends,
I have a myPage.aspx page with a button on it, button is a trigger for updatePanel.
I am trying to get the values button's commandArgument and commandName in the page constructor
but its always getting empty strings for "__EVENTTARGET" and "__EVENTARGUMENT": The complete code is as follows:
The .aspx file
<form id="form1" runat="server">
    <div>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        
        <asp:Button ID="btnAjax" runat="server" Text="Use Ajax"
Go to the complete details ...