<%@ Page Language="C#" MasterPageFile="~/AdminMasterPage.master" AutoEventWireup="true" CodeFile="eTicketsPerEventId.aspx.cs" Inherits="BoxOffice_EventManagment_PrintAttendeeTickets_eTicketsPerEventId" %><%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %><asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="ContentplaceholderRight" Runat="Server"></asp:Content><asp:Content ID="Content3" ContentPlaceHolderID="conMain" Runat="Server"> <telerik:ReportViewer runat="server" ID="report1" Width="100%" Height="700px" BorderStyle="None" Report="ReportTestClassLibrary1.ViewEticketsByEventId, SimpleTickReporting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" > </telerik:ReportViewer> </asp:Content> <compilation debug="true" batch="false"> <assemblies> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="Telerik.Reporting, Version=4.1.10.921, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/> <add assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/> </assemblies> </compilation><controls> <add tagPrefix="uc1" tagName="NewsArticles" src="~/MasterPages/Controls/NewsArticles.ascx"/> <add tagPrefix="uc1" tagName="CurrentEvents" src="~/MasterPages/Controls/CurrentEvents.ascx"/> <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/> <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add tagPrefix="cc2" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/> <add tagPrefix="cc1" namespace="TS.Common.WebUI.Controls" assembly="CommonClassLib"/> <add tagPrefix="ST" namespace="SimpleTick.WebControls"/> <add tagPrefix="telerik" namespace="Telerik.ReportViewer.WebForms" assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/> </controls><httpHandlers> <remove verb="*" path="*.asmx"/> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/> <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/> <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> <add path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" verb="*" validate="true"/> </httpHandlers>I would like to add a gap in the graph based on my first series.
My data are in DateTime Scale so if my first series x0 value is e.g. 30.11.2019 next label steps are 30.12.2019, 30.01.2020 etc.
I want to set the x0 value to 01.11.2019 when my first series x0 value is 30.11.2019, 01.12.2019 when my first series of data is 11.12.2019 etc.
I notice there are 'maximum' and 'minimum' fields in label's properties but I can only enter there static date like 01.01.2010...
I would like to add there an expression: ' = "01/"+First(Fields.StartDate.Month)+"/"+First(Fields.StartDate.Year) ' but in response I show warning "Propery value is not valid".
Is there any way to solve my problem?
Hi,
I have a ReportViewer control:
<tr:ReportViewer ReportSource="{Binding MyReportSource}"/>
A report:
public partial class MyReport : Telerik.Reporting.Report{ public MyReport() { InitializeComponent(); }}
A view model:
public class ViewModel{ public ReportSource MyReportSource { get; set; } = new InstanceReportSource { ReportDocument = new MyReport() }; public IList<MyReportModel> MyModels { get; set; }}
The ReportViewer control displays the structure defined in MyReport.
I assume that the ReportSource binding is working properly.
But how do i bind MyModels as a data source for MyReportSource,
so that it actually renders some data?
Thanks in advance,
machine spirit
Web service data source is not working properly in release(R3-2019).
I'm using Web service data source with OData to show some information about sales invoices. I need to show not all of columns of a table, but some of the columns. That's why I'm using $select operator at the end of the odata query(See second attached picture). So, I'm not able to use $select or even $expand operators in new release(R3-2019), because it shows an error(404). $select, $expand were working before(R2-2019), but in new release it is not.
Can some one help me on this case?
I am updating an ASP.Net WebForms application which uses the now obsolete WebForms ReportViewer. I am converting this to use the HTML5 WebForms viewer instead. We use ReportBooks in our application to display a collection of reports as one. In your documentation article: "How to Display a ReportBook in Viewer", it states: "Created ReportBook can be passed to the report viewer's report source as TypeReportSource." But the viewer only takes: Telerik.ReportViewer.Html5.WebForms.ReportSource so how am I to pass the ReportBook to the viewer?
Thanks,
Lisa
public class MultiSheetReport_Group1 : Telerik.Reporting.ReportBook { public MultiSheetReport() { this.Reports.Add(new CoverPages.GroupOneCoverPage()); this.Reports.Add(new ItemizedPages.GroupOneItems()); }}public MultSheetReport(int parentId){ var monthTriplet = DateTimeHelper.GetMonthOrdinals(parentId); // monthTriplet is a Tuple of int, int, int var cvrPage = new CoverPages.GroupOneCoverPage(); cvrPage.ReportParameters.Clear(); cvrPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId)); this.Reports.Add(new CoverPages.GroupOneCoverPage()); var m1ItemPage = new ItemizedPage.GroupOneItems(); m1ItemPage.ReportParameters.Clear(); m1ItemPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId)); m1ItemPage.ReportParameters.Add(new ReportParameter("month", ReportParameterType.Integer, monthTriplet.Item1)); this.Reports.Add(m1ItemPage); var m2ItemPage = new ItemizedPage.GroupOneItems(); m2ItemPage.ReportParameters.Clear(); m2ItemPage.ReportParameters.Add(new ReportParameter("id", ReportParameterType.Integer, parentId)); m2ItemPage.ReportParameters.Add(new ReportParameter("month", ReportParameterType.Integer, monthTriplet.Item2)); this.Reports.Add(m2ItemPage); }
Hi,
Is there a way to dynamically set the chart height based on the number of data rows? The chart looks fine when there are about 10-12 rows of data, but anything more and it starts to squish to meet the height requirements of the chart. I'm assuming there is a way and I'm just missing it!
I'm using the standalone Telerik Report Designer FYI. I've attached photos for an example.
Hi, I have a report act as a header template as follows:
var template = new TemplateReport{ Header = "Some header"};
where updating the custom properties will also update the textbox value.
When I want to use the template, I will just create the template, and do the such things:
var template = new TemplateReport{ Header = "Some header"};
var content = new ContentReport();
template.Content = content;
How can I do such things with report book? Thanks!