Telerik Forums
Reporting Forum
1 answer
162 views
Hi

string id = Request.QueryString["id"];
 Value Get

Telerik Report Parameters
 Value Set

Example
Q2 2009
using Telerik.Reporting;

string reportName = Server.UrlDecode(this.Request.QueryString["ReportName"]);
string id = Request.QueryString["id"];

if (!string.IsNullOrEmpty(reportName))
{
    Type reportType = Type.GetType(reportName);
    IReportDocument report = (IReportDocument)Activator.CreateInstance(reportType);

    ?????  report.ReportParameters

    this.ReportViewer1.Report = report;
    this.Page.Title = reportType.Name;


Kwon OhJong
Top achievements
Rank 2
 answered on 04 Nov 2009
2 answers
140 views
Hi,

is it possible to do something similar to this http://www.telerik.com/community/forums/aspnet-ajax/grid/self-referencing-hierarchy-in-programmatic-grid-with-a-xmldatasource.aspx

With some data in a xml format like this

<Lines>  
    <Item ID="IDI-1-17" ParentID="" UserCode="B24R" Description="Base"/>  
    <Item ID="IDI-1-75" ParentID="IDI-1-17" UserCode="FL.TOE" Description="Flush Toe Kick"/>  
    <Item ID="IDI-1-20" ParentID="" UserCode="B24L" Description="Base"/>  
    <Item ID="IDI-1-57" ParentID="IDI-1-20" UserCode="FL.TOE" Description="Flush Toe Kick"/>  
    <Item ID="IDI-1-63" ParentID="IDI-1-20" UserCode="FD.SH" Description="Full Depth Shelf"/>  
    <Item ID="IDI-1-53" ParentID="IDI-1-20" UserCode="CT2" Description="Knife Section Kit"/>  
    <Item ID="IDI-1-26" ParentID="" UserCode="B36-2" Description="Base"/>  
    <Item ID="IDI-1-81" ParentID="IDI-1-26" UserCode="FL.TOE" Description="Flush Toe Kick"/>  
    <Item ID="IDI-1-36" ParentID="" UserCode="SBFD36" Description="Sink Base FHD"/>  
    <Item ID="IDI-1-83" ParentID="IDI-1-36" UserCode="FL.TOE" Description="Flush Toe Kick"/>  
    <Item ID="IDI-1-40" ParentID="IDI-1-36" UserCode="SK.21-1TUB" Description="21&quot; 1 Tub Sink"/>  
    <Item ID="IDI-1-22" ParentID="" UserCode="W2424" Description="Wall"/>  
    <Item ID="IDI-1-24" ParentID="" UserCode="W2424L-GL" Description="Wall w/Glass"/>  
</Lines>  

I want to be able to create a hierarchical report. I know that I have to convert my xml into a dataset, but I'm stuck with the hierarchy part. Is there something similar to the ASP.NET AJAX Radgrid I can use ?

Thanks


pylacroix
Top achievements
Rank 1
 answered on 03 Nov 2009
39 answers
1.4K+ views
All,

I am just slightly confused about the PDF output described in the information available so far.

We are using ActiveReports 2.0 for .NET to report data that has been entered using RAD Editor and are having fits because of the insane limitations of their HTML rendering in PDF documents. What has happened is their engine will encounter HTML tags it can't understand so it just quits rendering.

1) How will PDFs be handled? As an export from the visible report? As a native viewer with the document directly rendered to PDF (like ActiveReports)?
2) Currently HTML code is very limited in ActiveReports. Will Telerik Reporting handle all the tags the RAD Editor supports? This is KILLER important. We have users importing into RAD Editor from MS Word and half the time AR just chokes and dies. To top it off, we are left to guess as to where the error occured in the report since their stack trace is totally encrypted.

Suffice it to say after absolutely pulling our hair out with ActiveReports, we would love something that works as advertised. If you hit a homer as you have with RAD Editor and RAD Combo, which we also use, we are in...

Thanks,
B
Diederik
Top achievements
Rank 1
 answered on 03 Nov 2009
3 answers
534 views
Hi there,

I'm trying to format a particular textbox on the first and subsequent pages differently. Specifically, on page 1, I'd like to format the textbox as centered, bold Cambria font, size 14. On pages 2 and up, I'd like to format it as center, bold Cambria, size 10.

The rules I've entered for the textbox are
= PageNumber > =1 ------- center, bold, Cambria, 10
= PageNumber = 1   ------- center, bold, Cambria, 14

Unfortunately, regardless of page number, the textbox is always formatted according to the second rule.

Notably, if the second rule is removed, the textbox is formatted properly.

I also tried formatting the textbox first as size 14, then adding conditional formatting with the first rule only, but that doesn't work. I assume that's expected behavior because as governed by another post, conditional formatting is designed to only change default behavior.

I've already tried switching the order and different combinations of the "Stop If True" setting.

Any ideas of what I'm doing wrong?

Thanks,
Mark
Steve
Telerik team
 answered on 03 Nov 2009
2 answers
259 views
I'm trying to pass a DataSet to a SubReport. I don't want the DataSet to be the SubReport's DataSource. The SubReport has a chart and table in it which will display the contents of the passed DataSet.

The only way I see to pass values to a SubReport is via ReportParameters. That, however, does not allow passing objects. Doing SubReport.ReportSource on DetailSection.ItemDataBound leaves the first detail section without a DataSet.

 
private void detail_ItemDataBound(object sender, EventArgs e) 
    Telerik.Reporting.Processing.DetailSection detailSection = (Telerik.Reporting.Processing.DetailSection)sender; 
 
    DataRow row = (DataRow)detailSection.DataObject.RawData; 
 
    TUsageSubReport subReport = (TUsageSubReport)this.UsageSubReport.ReportSource; 
 
    DataSet ds = null
 
    DB.Reports_GetAccountUsages(Convert.ToInt32(row["UserId"]), new DateTime(2009, 10, 1), new DateTime(2009, 10, 31), m_ConnectionString, out ds); 
 
    subReport.Usages = ds; 
 

Is it possible to get to the actual report object (SubReport.ReportSource) per detail section?
Steve
Telerik team
 answered on 02 Nov 2009
1 answer
189 views
Hello,

I have another problem. This time I am trying to display "Stacked Line chart" and bind DataTable on NeedDataSource.
DataTable source has 3 columns: DateTime, double, double
I want to show DateTime values on X axis and 2 series on chart. Each for the column. LINK TO CHART

I have tried to find similar example in Documentation but I found only very simple examples.

DataTable looks like that:

10-Jan-2000    1.1    2.0
20-Feb-2000    1.4    2.2
24-Apr-2000    1.3    2.5
...
...
...

Could you please also explain me how the binding work? How to create series, legend etc?

Regards,
Michal.  
Steve
Telerik team
 answered on 02 Nov 2009
3 answers
186 views
Hi,

is there any idea when Telerik reporting will be fully supported e.g. the designer in VS 2010


Regards


Alex
Steve
Telerik team
 answered on 02 Nov 2009
10 answers
298 views
Hi
Can you please tell me how to remove unwanted modules from sitefinity admin part in 3.7
I tried removing from the web config below part

 <modules>
        <add type="Telerik.Cms.Engine.GenericContentModule, Telerik.Cms.Engine"/>
        <add type="Telerik.News.NewsModule, Telerik.News"/>
        <add type="Telerik.Blogs.BlogsModule, Telerik.Blogs"/> This two when i try to remove i was getting the error like
        <add type="Telerik.Lists.ListModule, Telerik.Lists"/>

        <add type="Telerik.Polls.PollModule, Telerik.Polls"/>
        <add type="Telerik.Forums.ForumsModule, Telerik.Forums"/>
        <add type="Telerik.Libraries.LibrariesModule, Telerik.Libraries"/>
        <add type="Telerik.Events.EventsModule, Telerik.Events"/>
        <add type="Telerik.Notifications.Newsletters.NewsletterModule, Telerik.Notifications"/>
        <add type="Telerik.Wiki.WikiModule, Telerik.Wiki" />
      </modules>

Server Error in '/' Application.

Could not load file or assembly 'Telerik.Polls]]' or one of its dependencies. The system cannot find the file specified.

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.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Polls]]' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 54: 			{
Line 55: Telerik.Web.IControlPanel ctrlPnl = (Telerik.Web.IControlPanel)this.contolPanel;
Line 56: foreach (Telerik.Web.ICommandPanel cmdPnl in ctrlPnl.CommandPanels)
Line 57: this.ToolBoxHolder.Controls.Add((Control)cmdPnl);
Line 58: }

Source File: d:\Program Files\telerik\Sitefinity3.2\WebSites\ProjectName\Sitefinity\Admin\Modules.aspx.cs    Line: 56

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Polls]]' could not be loaded.




v
Top achievements
Rank 1
 answered on 02 Nov 2009
1 answer
81 views
Hi

I was watching this video
http://tv.telerik.com/reporting/video/telerik-reporting-+-design-time-support-for-parameterized-queries
I have the version Telerik Reporting Q1 2009,   and is not the same than the video.
I need this example with Parameterized Queries for vb Q1 2009 and the viewer in asp.net
I suggest you.. Make again this video or videos with the last versions

Thank you. 
Steve
Telerik team
 answered on 30 Oct 2009
3 answers
143 views
Hello...
My several customer want to print with dot printer.
does radcontrol for winform has the function which is control dot printer?
Chris Gillies
Top achievements
Rank 1
 answered on 30 Oct 2009
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?