Telerik Forums
Reporting Forum
11 answers
195 views
Hello,

I recently put together a website in Sitefinity (3.6) on one or our development servers. Everything worked fine, but when I transferred it to our client's hosting it is giving me a serialization error. In particular, this occurs when I go to edit a page and it somehow has set Overlay back as default (although I used Custom). Nothing on the page is editable. When I try to change it back to Custom I get this error:

Server Error in '/' Application.

Serialization error.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.Serialization.SerializationException: Serialization error.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[SerializationException: Serialization error.]
   Telerik.Personalization.Data.NolicsProvider.Set(String userName, String keyName, String moduleName, T value, Transaction transaction) +430
   Telerik.Personalization.Data.NolicsProvider.SaveModuleValue(String userName, String keyName, String moduleName, T value) +107
   Telerik.Personalization.Data.NolicsProvider.SaveModuleValue(String keyName, String moduleName, T value) +46
   Telerik.Personalization.Data.NolicsProvider.SaveGlobalValue(String keyName, T value) +40
   Telerik.Personalization.PersonalizationManager.SaveGlobalValue(String keyName, T value) +35
   Telerik.Cms.Web.UI.ToolBar.SelectSkin_SelectedIndexChanged(Object sender, EventArgs e) +113
   System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) +111
   System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent() +134
   System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() +10
   System.Web.UI.Page.RaiseChangedEvents() +165
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1485


Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209


The site is on a Rackspace cloud server. 

I'm lost as to what is causing this. Any help would be very much appreciated.

Thanks,

Matt
Radoslav Georgiev
Telerik team
 answered on 11 Jan 2011
1 answer
155 views
I have a report that contains a Telerik.Reporting.Table and a Telerik.Reporting.Chart.  If I add an event handler for the NeedDataSource event on all three (the report, the table and the chart) in which order will the events fire?  In the debugger the event for the report fires first and then the others fire, but is this always the case?
Massimiliano Bassili
Top achievements
Rank 1
 answered on 11 Jan 2011
1 answer
204 views
I'm trying to get my ReportViewer to use all the available vertical space on my WebForm.  I've seen numerous posts that say I have to set the entire doc tree to "style='height: 100%'", but I've done that, and my ReportViewer is still scrolling vertically.

The issue may be complicated by the fact that my ReportViewer is on a content page and the <html>, etc., tags are in the master page.

Here's my ReportViewer page:
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/WlacSchedule.Master" CodeBehind="MyPlannerReport.aspx.vb" Inherits="WLAC.MyPlannerReport" %>
<%@ MasterType VirtualPath="~/WlacSchedule.Master" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.ReportViewer.WebForms" Namespace="Telerik.ReportViewer.WebForms" %>
<%@ Assembly Name="Telerik.ReportViewer.WebForms" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMenu" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <center id="center">
        <telerik:ReportViewer ID="ReportViewer1"
            Height="100%"
            runat="server" 
            ShowParametersButton="False"
            Width="100%"
            ZoomMode="PageWidth">
        </telerik:ReportViewer>
    </center>
</asp:Content>

And here's my Master Page: (The content area containing the ReportViewer is "cphMain", about twenty lines from the end of the page.)

<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="WlacSchedule.master.vb" Inherits="WLAC.WlacSchedule" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%">
<head runat="server">
    <%--<title>West Los Angeles College</title>--%>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="robots" content="index, follow" />
    <meta name="author" content="West Los Angeles College" />
    <meta name="copyright" content="copyright, West Los Angeles College" />
    <meta name="usage" content="all rights reserved. Contact West Los Angeles College for reproduction permission." />
    <meta name="generator" content="hand-coded" />
    <meta name="homepage" content="www.wlac.edu" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <meta name="MSSmartTagsPreventParsing" content="TRUE" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="pragma" content="no-cache" />
    <link rel="stylesheet" type="text/css" href="general/wlac-schedule.css" media="all" />
    <link rel="stylesheet" href="general/wlac-schedule-print.css" type="text/css" media="print" />
  
    <script type="text/JavaScript" language="Javascript" src="general/pagescript.js"></script>
  
    <script type="text/javascript" src="general/swfobject.js"></script>
  
    <script type="text/javascript" src="general/planner.js"></script>
  
    <!--[if lte IE 6]>
        <link rel="stylesheet" type="text/css" href="general/ie-6-fix.css" media="all" />
        </style>
    <![endif]-->
    <meta name="description" content="Schedule of Classes and Planner for West Los Angeles College: Through innovative programs and responsive Community services, West Los Angeles College empowers students to succeed." />
    <style type="text/css" media="all">
        /* styles for this page only */</style>
    <link href="general/p7EPM04.css" rel="stylesheet" type="text/css" media="all" />
  
    <script type="text/javascript" src="general/p7EPMscripts.js"></script>
  
    <link href="general/wlac_Ed.css" rel="stylesheet" type="text/css" />
    <link href="general/PlannerClasses.css" rel="stylesheet" type="text/css" />
    <title>West Los Angeles College</title>
    <asp:ContentPlaceHolder ID="cphHead" runat="server">
    </asp:ContentPlaceHolder>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body style="height: 100%">
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <%-- Needed for JavaScript IntelliSense in VS2010 --%>
                <%-- For VS2008 replace RadScriptManager with ScriptManager --%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" RestoreOriginalRenderDelegate="false">
        </telerik:RadAjaxManager>
        <div id="wrapper">
            <div id="header">
                <div id="skip">
                    <a href="#content">Skip to Main Content</a>
                </div>
                <div id="header-right">
                    <a href="http://www.cccapply.org/applications/CCCApply/apply/West_Los_Angeles_College.html" title="Apply Online">
                        <img src="images/nav-applyonline.jpg" alt="Apply Online" width="197" height="31"
                            border="0" /></a>
                    <div class="headerlink">
                        View <a href="http://www.wlac.edu/scheduleofclass/schedulecalendar.html">WLAC ACADEMIC
                            CALENDAR</a>
                    </div>
                </div>
                <div id="header-left">
                    <a href="http://www.wlac.edu/">
                        <img src="images/nav-homelogo.jpg" alt="West LA College HOME" width="181" height="108"
                            border="0" /></a>
                </div>
                <h1>
                    West Los Angeles College Schedule of Classes and Planner</h1>
            </div>
            <!-- end header -->
            <div id="elevator">
                <asp:ContentPlaceHolder ID="cphMenu" runat="server">
                </asp:ContentPlaceHolder>
                <div id="pcs">
                    <div id="p7EPM_1" class="p7EPM04">
                        <div id="p7EPMt_1" class="p7epm_trigs">
                            <ul>
                                <li class="t1"><a href="#p7EPMc1_1" id="p7EPMtrg1_1"></a></li>
                                <li class="t2"><a href="#p7EPMc1_2" id="p7EPMtrg1_2"></a></li>
                            </ul>
                            <div class="p7epm_ie5clear">
                                 </div>
                        </div>
                        <div id="p7EPMdw_1">
                            <div id="p7EPMw1_1" class="p7epm_cwrapper">
                                <div id="p7EPMc1_1" class="p7epm_content pan1">
                                    <div id="pcs-top">
                                        <div id="pcs-top-col1">
                                            <img src="images/header-pcs.png" alt="Printed Classs Schedules and Policies" width="297"
                                                height="35" />
                                        </div>
                                        <div id="pcs-top-col2">
                                            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam a diam enim, nec
                                            vulputate felis. Aliquam ligula arcu, tincidun.</div>
                                        <div id="pcs-top-col3">
                                            <img src="images/nav-closepanel.gif" alt="Close this panel" width="82" height="16"
                                                onclick="P7_EPMctl('p7EPMtrg1_1','close')" /></div>
                                    </div>
                                    <div id="pcs-col1">
                                        <ul id="col1-list">
                                            <li><a href="App_Data/test.pdf">
                                                <img src="images/pdf-fall2010.png" alt="Fall Classes 2010 [PDF]" width="286" height="33" /></a></li>
                                            <li><a href="App_Data/test.pdf">
                                                <img src="images/pdf-winter2011.png" alt="Winter Classes 2011 [PDF]" width="286"
                                                    height="33" /></a></li>
                                            <li><a href="App_Data/test.pdf">
                                                <img src="images/pdf-spring2011.png" alt="Spring Classes 2011 [PDF]" width="286"
                                                    height="33" /></a></li>
                                            <li><a href="App_Data/test.pdf">
                                                <img src="images/pdf-summer2011.png" alt="Summer Classes 2011 [PDF]" width="286"
                                                    height="33" /></a></li>
                                        </ul>
                                    </div>
                                    <!-- end col1 -->
                                    <div id="pcs-col2">
                                        <p>
                                            <a href="App_Data/test.pdf">
                                                <img src="images/pdf-howtoenroll.png" alt="How To Enroll [PDF]" width="198" height="34" /></a></p>
                                        <ul>
                                            <li>Dates to Know</li>
                                            <li>Who May Apply</li>
                                            <li>How To Enroll</li>
                                            <li>About Matriculation</li>
                                            <li>How To Add/Drop Classes</li>
                                            <li>Fees & Financial Aid</li>
                                            <li>List of Majors/Certificates</li>
                                            <li>Empezar el Proceso</li>
                                        </ul>
                                    </div>
                                    <!-- end col2 -->
                                    <div id="pcs-col3">
                                        <p>
                                            <a href="App_Data/test.pdf">
                                                <img src="images/pdf-thingstoknow.png" alt="Things To Know / Policies [PDF]" width="234"
                                                    height="34" /></a></p>
                                        <ul>
                                            <li>For High School Students</li>
                                            <li>Transfer Honors Program</li>
                                            <li>Transfer Requirements (UC, CSU, IGTCE)</li>
                                            <li>Graduation Requirements</li>
                                            <li>Graduation Petition Process</li>
                                            <li>Services for Students</li>
                                            <li>Policies: Student Code of Contact, Academic Policies, Financial Policies, Non-Discrimination,
                                                Legal Protections, Crime Stats, Other</li>
                                            <li>Off-Campus Locations</li>
                                            <li>Admissions Check List</li>
                                            <li>Paper Application</li>
                                        </ul>
                                        <p>
                                             </p>
                                    </div>
                                    <!-- end col3 -->
                                </div>
                            </div>
                        </div>
                        <!-- end pcs -->
                        <div id="p7EPMw1_2" class="p7epm_cwrapper">
                            <div id="p7EPMc1_2" class="p7epm_content pan2">
                                <div id="help_content">
                                    <!-- Flash content:
                                        1)  It sits inside the Div IDed "help_content".
                                        2)  A reference to the swfobject.js script can go here, or in the <head>.  I put it in the <head>.
                                        3)  Please upload the Flash file too! It's called helppanel.swf and it goes right next to all of your pages. 
                                        4)  The way it works: helppanelcontent div is set to be display:none. 
                                            EXCEPT if you're a spiderbot or have no Flash or an older version, or if you have JavaScript turned off.
                                            Then it displays instead of the Flash file.  -->
                                        <div id="helppanelcontent">
                                            <img src="images/helpflash.jpg" alt="Help Panel" width="990" height="250" />
                                        </div>
                                        <script type="text/javascript">
                                            var so = new SWFObject("helppanel.swf", "movie", "990", "250", "8", "#FFFFFF");
                                            so.addParam("menu", "false");
                                            so.write("helppanelcontent"); 
                                        </script>
                                    <!-- End of Flash content -->
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--[if IE 5]><style>.p7epm_trigs {width: 100%;} .p7epm_ie5clear {clear: both;} .p7epm_content, .p7epm_content li a {height: 1%;}</style><![endif]-->
                    <!--[if IE 6]><style>.p7epm_trigs, .p7epm_content div {zoom: 1;} .p7epm_trigs a {height: auto !important;}</style><![endif]-->
  
                    <script type="text/javascript">
<!--
                        P7_opEPM('p7EPM_1', 0, 1, 1, 0, 0, 1000, 0, 0, 250, 1, 1, 0);
//-->
                    </script>
  
                </div>
            </div>
            <div id="content" style="height: 100%">
                <div id="content-wrap" style="height: 100%">
                    <asp:ContentPlaceHolder ID="cphMain" runat="server">
                    </asp:ContentPlaceHolder>
                </div>
                <!-- end content wrap -->
            </div>
            <!-- end content -->
            <div id="footer">
                West Los Angeles College - 9000 Overland Avenue - Culver City, CA 90230 - 310-287-4200
                - <a href="http://www.lacolleges.net/" target="_blank">LAColleges.net</a> - <a href="http://www.laccdbuildsgreen.org/" target="_blank">
                LACCDBuildsGreen.org</a>
            </div>
            <!-- end footer -->
        </div>
        <!-- end wrapper -->
    </div>
    </form>
</body>
</html>

Any help would be appreciated.

Massimiliano Bassili
Top achievements
Rank 1
 answered on 11 Jan 2011
1 answer
169 views
dear support,

I have just made an plain report in telerik reporting, without any conditional formating or calculated fields. See the report displayed is in very small area. How to increase the height ? My report viewer width and height is 100%. in report designer it is showing perfect but in final is something else.
find the attached files
Steve
Telerik team
 answered on 10 Jan 2011
3 answers
133 views
i have a problem in firefox where the reportviewer can print the report but the report itself doesnt display and the dropdown for export is disabled. everything looks fine in IE however which is what is confusing me. any idea what could be causing this?

any help would be great. thanks
Steve
Telerik team
 answered on 10 Jan 2011
3 answers
279 views
(I am using the latest version of Q3 release.)
I created a master report which contains a list of dynamically generated sub-reports. 
foreach (ParameterValuesReportDataSource ds in dss)
{
 IndividualParameterReport subreport = new IndividualParameterReport(ds);
 
 SubReport subReport = new SubReport();
 subReport.ReportSource = subreport;
 detail.Items.Add(subReport);
}

I expected these sub-reports to be displayed one by one on the same page. However, the result report are splited into two pages, as shown in noDocking_page1.png and noDocking_page2.png.
Later I found that if I add a line: subReport.Dock = System.Windows.Forms.DockStyle.Top, sub-reports can be displayed within one page.
But they are kinda overlay, and still show two pages with the second page is empty, as shown in docking_page1.png and docking_page2.png.

Can anyone help with it? Thank you in advance.

Cheers,

VH
VH
Top achievements
Rank 1
 answered on 10 Jan 2011
4 answers
328 views
Hi 

   Here i am facing problem with access data through object data source in silverlight telerik reporting.

i am able excute the data uisng sql data source but not through object data source
and also i want access report class in silverlight object , so that i can send server data into report method.
Uanble to access report class vis telerik report service.

please suggest anybody have solution 
Regards
Ravi.


   
Rahel
Top achievements
Rank 1
 answered on 09 Jan 2011
0 answers
77 views
[Yes, I know; that question invites some very sarcastic answers, but...]
I had this Visual Studio 2008 Professional project using the ASP.NET AJAX tools, and it worked fine.
I upgraded (that's debatable) to VWD 2010, and the project still worked fine, but the Telerick menu and Telerik Toolbox disappeared.
Now I want to add Reporting.
I don't really care about the Telerick menu and Telerik Toolbox, but I need to be able to use Telerik objects in my markup and my code.
Is there an article somewhere that explains what I can and cannot do, and what work-arounds are available?

Any hints greatly appreciated.

If I end up having to buy Visual Studio just for this, I'm gonna shoot myself.  (Not saying with what, though.)
WombatEd
Top achievements
Rank 1
 asked on 09 Jan 2011
4 answers
94 views
Can you send me 2 examples for using the Open Access model as a datasource:
1. Using the model as a datasource for Report1
2. Using the model as a datasource for crosstab1 in Report1
Richard M
Top achievements
Rank 1
 answered on 07 Jan 2011
1 answer
212 views
Hi,

i need some help designing my table.

I have a DB table have 2 columns with same data and 3rd column with a different data.
I have two such rows.

Now when i print my table in the report I need the report to be displayed as one record itself have the first two columns and the third one with the two different rows merged.

Any help with this would be very much appreciated.

DB Table

col1 col2 col3
AA   BB   CC
AA   BB    XX


I need it to be displayed in the report as

col1 col2 col3
AA  BB    CC,XX

Regards,

Ron
Peter
Telerik team
 answered on 07 Jan 2011
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?