Hey, I'm having trouble getting a grid to popup inside the radwindow. getting the error- Object reference not set to an instance of an object.
I have a button that upon being clicked rebinds the chart and sets the popBlueBoxSales.VisibleOnPageLoad = true;
The controls are all properly updated in the AjaxSettings.
Here is the radwindow and grid. Thanks for the help!
<telerik:RadWindow ID="popBlueBoxSales" runat="server" Width="300px" Modal="true" Height="300px" Title="Description">
<ContentTemplate>
<telerik:RadGrid runat="server" ID="grdBlueBoxSalesQ" Height="270px" Width="90%" AllowPaging="true" OnItemCommand="grdBlueBoxSalesQ_ItemCommand" AllowSorting="true" Font-Size="Small" OnNeedDataSource="grdBlueBoxSalesQ_NeedDataSource" Visible="true" style="height:auto; margin-bottom:2%; margin-left:5%">
<ClientSettings AllowColumnsReorder="true" AllowExpandCollapse="true" Selecting-AllowRowSelect="true" ReorderColumnsOnClient="true">
<Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
AllowColumnResize="True"></Resizing>
</ClientSettings>
<MasterTableView CommandItemDisplay="Bottom" PageSize="5" AutoGenerateColumns="false">
<CommandItemTemplate>
<div style="float: right">
<asp:LinkButton ID="btnExportExcel" runat="server" CommandName="Export" >
<asp:Image runat="server" BorderStyle="None" ImageUrl="~/Images/Export.png" Width="16px" /> Excel Export</asp:LinkButton>
</div>
</CommandItemTemplate>
<PagerStyle Mode="NextPrevAndNumeric" PageSizes="3,5,10" />
<Columns>
<telerik:GridBoundColumn DataField="ProjectDescription" HeaderText="Project Description" AutoPostBackOnFilter="True"
SortExpression="" CurrentFilterFunction="StartsWith" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
</ContentTemplate>
</telerik:RadWindow>