This is a migrated thread and some comments may be shown as answers.

how to fire click event in NestedView RadGrid

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
KwangTae
Top achievements
Rank 1
KwangTae asked on 22 Dec 2011, 08:21 AM
Hello...
i have a question... 

after add a button in nestedView , How can i  raise click button event in Radgrid nestedview ?

i attached screen shot , because i didn't write  english well.

thanks regards....

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Dec 2011, 08:59 AM
Hello,

You can attach the click event to button as shown below.
ASPX:
<NestedViewTemplate>
      . . .            
     <td>
       <%#Eval("ContactName")%>
     </td>
 <asp:Button ID="Button1" runat="server"  onclick="Button1_Click" /> Text="click" 
</NestedViewTemplate>
CS:
  protected void Button1_Click(object sender, EventArgs e)
{
    //your code
}

Thanks,
Princy.
Tags
Grid
Asked by
KwangTae
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or