<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Button ID="button" Text="Click" runat="server" ></asp:Button>
<ej:Grid ID="Grid" runat="server" AllowPaging="True" >
<Columns>
...
</Columns>
</ej:Grid>
</asp:Content>
List<Orders> order = new List<Orders>();
protected void Page_Load(object sender, EventArgs e)
{
BindDataSource();
}
private void BindDataSource()
{
int code = 10000;
for (int i = 1; i < 10; i++)
{
...
}
this.Grid.DataSource = order;
this.Grid.DataBind();
} |
Hi Mani,
Thank you, issue has been resolved with your suggestion.
Regards,
Suresh.