Hello,
I have a classic grid written like this:
<asp:GridView ID="CommOpnd" runat="server" AutoGenerateColumns="false" AllowPaging="true" PageSize="10" OnPageIndexChanging="GV_PageIndexChanging" OnSelectedIndexChanged="GridView_SelectedIndexChanged" DataKeyNames="LastFase, MissingStaff, AC_Codice, ShowClose, Bollettazione" OnRowDataBound="FixCOpLayout">
<Columns>
...
...
...
</Columns>
<PagerStyle CssClass="pager" />
</asp:GridView>
protected void FixCOpLayout(object sender, GridViewRowEventArgs e) {
...
...
...
}
How do i call the function the same way in syncfusion grids?
I also need to access the grid buttons, what can I do?
Aspx
<asp:Button ID="RipristinaQDaBoll" runat="server" Text="text" OnClientClick="client function" Visible="false" OnClick="server side function" />
Aspx.cs
Panel pa3 = (Panel)b.Parent.FindControl("AVPanel");
((Button)pa3.FindControl("RipristinaQDaBoll")).CommandArgument = b.CommandArgument;
((Button)pa3.FindControl("RipristinaQDaBoll")).Visible = true;
Regards,
Alessio.