How to add crystal report within panel

  1. #1

    How to add crystal report within panel

    <South Split="true" Collapsible="true">
                        <ext:Panel ID="SouthPanel" runat="server" Title="South" BodyStyle="padding:6px;" Html="South">
                            <Body>
                                <ext:FitLayout ID="FitLayout1" runat="server">
                                    <CR:CrystalReportViewer ID="rptviewer" DisplayGroupTree="False" runat="server" AutoDataBind="true" />
                                </ext:FitLayout>
                            </Body>
                        </ext:Panel>
                    </South>

    I already tried with the above code and it gives me following error


    <b style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px; ">Parser Error Message: [/b]Coolite.Ext.Web.ItemsCollection`1[[Coolite.Ext.Web.Component, Coolite.Ext.Web, Version=0.8.0.30406, Culture=neutral, PublicKeyToken=f58c952e9aa5b80a]] must have items of type 'Coolite.Ext.Web.Component'. 'CR:CrystalReportViewer' is of type 'CrystalDecisions.Web.CrystalReportViewer'.


    Can anyone help me to set CrystalReportViewer within panel.


    Advance Thanks.

  2. #2

    RE: How to add crystal report within panel

    Hi,

    Remove FitLayout and add Crystal report inside Body directly. Any Layout can contains the Coolite controls only
  3. #3

    RE: How to add crystal report within panel

                    <South Split="true" Collapsible="true">
                        <ext:Panel ID="SouthPanel" runat="server" Title="South" BodyStyle="padding:6px;" Html="South">
                            <Body>
                                
                                    <CR:CrystalReportViewer ID="rptviewer" DisplayGroupTree="False" runat="server" AutoDataBind="true" />
                                
                            </Body>
                        </ext:Panel>
                    </South>

    I did what you told. But it gives me following error meaasge:


    <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; ">The Html property and Body template have both been set on Panel (ID: SouthPanel). Only one of the properties can be set at a time.</h2>
  4. #4

    RE: How to add crystal report within panel

    Hi,

    You need to remove Html property
  5. #5

    RE: How to add crystal report within panel

    Thanks

    It works.

Similar Threads

  1. Replies: 3
    Last Post: Jan 09, 2012, 10:09 PM
  2. Crystal Report and Ext.net
    By sonlas7y20 in forum 1.x Help
    Replies: 7
    Last Post: Dec 29, 2011, 2:27 PM
  3. Crystal Report Viewer is not showing?
    By sadeque in forum 1.x Help
    Replies: 6
    Last Post: Nov 10, 2011, 3:43 PM
  4. [CLOSED] Crystal Report page Count?
    By Vasudhaika in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 23, 2010, 9:02 AM
  5. Crystal Report Viewer Overlap
    By EzaBlade in forum 1.x Help
    Replies: 0
    Last Post: Sep 23, 2009, 1:26 PM

Posting Permissions