Unplanned
Last Updated: 12 Feb 2019 16:15 by ADMIN
Cameron
Created on: 12 Feb 2019 16:11
Category: UI for ASP.NET AJAX
Type: Bug Report
0
Visual Studio Design time error rendering the control - Object reference not set to an instance of an object

When attempting to view the page in design view, here's what it looks like:

 

Here is the markup:

    <telerik:RadPanelBar ID="RadPanelBar1" runat="server">
        <Items>
            <telerik:RadPanelItem runat="server" Expanded="True" PreventCollapse="true">
                <HeaderTemplate>
                    <div ID="content-header">
                        Auditing Report | GPO Changes For User
                    </div>
                </HeaderTemplate>
                <ContentTemplate>
                    <div ID="content-body">
                        <telerik:ReportViewer ID="ReportViewer1" runat="server" ReportBookID="" Width="100%" Height="12in">
                        </telerik:ReportViewer>
                    </div>
                </ContentTemplate>
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>

1 comment
ADMIN
Rumen
Posted on: 12 Feb 2019 16:15
Hi Cameron,

Thank you for reporting this problem!

It was verified and confirmed as an issue.

The workaround that you can use until the problem gets fixed is move the Report Viewer outside of the PanelBar which will render both components correctly and allow you to configure their properties. Once you are ready move back the ReportViewer tag into the <ContentTemplate> of the <telerik:RadPanelItem>.

As a small note of gratitude for your bug report, I updated your Telerik points.

Best regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.