Posted on: 10/5/2012 12:41:09 AM | Views : 273

Hi friends,

I have a gridview with to link buttons in the tempalte field as shown below.. I need to open two diffrent panels when  each button is clicked one panel for Edita nd one for Add.. But how can i determine which button has been clciked in the gvCustomers_SelectedIndexChanged event.. I am confused as it does not allow the  e.CommandName property here..  Thank you
 <asp:TemplateField>  
                        <ItemTemplate>
                        <asp:LinkButton ID="btnViewDetails"  runat="server" Text="Edit"  CommandName="Select" />
                      ...

Go to the complete details ...