Hello. I have a Grid I am attempting to implement. I am currently using the standard ASP.NET DataGrid, which is working correctly with my List. I want to replace that DataGrid with a SyncFusion Grid, but the SyncFusion Grid refuses to work.
This is my grid code:
ASPX:
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<ej:Grid ID="foGrid" runat="server">
<Columns>
<ej:Column Field="OrderID" HeaderText="Order ID" IsPrimaryKey="True" TextAlign="Center" Width="70" />
<ej:Column Field="OrderDateTime" HeaderText="Order Date" Format="{0:MM/dd/yyyy}" TextAlign="Center" Width="80" />
<ej:Column Field="SiteID" HeaderText="Site ID" Width="80" TextAlign="Center" />
<ej:Column Field="valKey" HeaderText="Validation Key" TextAlign="Center" Width="150" />
<ej:Column Field="ModelNumber" HeaderText="Model Number" TextAlign="Center" Width="100" />
<ej:Column Field="FirstName" HeaderText="First Name" Width="100" />
<ej:Column Field="LastName" HeaderText="Last Name" Width="125" />
<ej:Column Field="Address" HeaderText="Address" Width="200" />
<ej:Column Field="Address2" HeaderText="Address 2" Width="200" />
<ej:Column Field="City" HeaderText="City" Width="150" />
<ej:Column Field="State" HeaderText="State" Width="25" />
<ej:Column Field="ZIP" HeaderText="ZIP" Width="30" />
<ej:Column Field="Phone" HeaderText="Phone" Width="40" />
<ej:Column Field="FailType" HeaderText="Failure Type" Width="100" />
</Columns>
</ej:Grid>
<%--<asp:DataGrid ID="foGrid2" runat="server"></asp:DataGrid>--%>
</asp:Content>
ASPX.CS:
var failedOrders = Administration.GetFailedOrders(Application["connString"].ToString());
foGrid.DataSource = failedOrders;
foGrid.DataBind();
When I run the code, all that shows up in the View Source is an empty DIV named "foGrid".
I'm sure I'm missing something simple, but for the life of me I can't figure out what.