I have a radgrid on my aspx page, and it is getting data populated, however, the grid and the data are not visible on the webpage. I am attempting to do a simple databinding as shown in this example: Grid - Simple Data Binding
The source code from my aspx project is:
Codebehind:
Any assistance is appreciated.
The source code from my aspx project is:
<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager><telerik:RadGrid ID="RadGrid1" OnSortCommand="RadGrid1_SortCommand" OnPageIndexChanged="RadGrid1_PageIndexChanged" Width="90%" Height="100px" OnPageSizeChanged="RadGrid1_PageSizeChanged" AllowSorting="True" PageSize="150" AllowPaging="True" AllowMultiRowSelection="True" runat="server" GridLines="None"> <MasterTableView Height="100px" Width="100%" Summary="RadGrid table"> </MasterTableView> <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle></telerik:RadGrid>Codebehind:
private void LoadData(){ if (Session["TripLog"] != null) { RadGrid1.DataSource = Session["TripLog"]; RadGrid1.DataBind(); }}Any assistance is appreciated.
