Telerik Forums
Reporting Forum
3 answers
345 views
I'm trying to export to tiff and using the code detailed in this article, http://www.telerik.com/community/forums/reporting/telerik-reporting/tif-rendering-extension-not-working.aspx . The difference is that we are using winforms .

I keep getting a RendererNotAvailable exception , I use very similar code for our PDF exports and that works just
fine but not with the TIFF format. Is there an include I am missing or a config that needs setup ? I am explicitly
declaring the deviceinfo hashtable as per the article linked but to no avail.

Chavdar
Telerik team
 answered on 01 Jul 2009
1 answer
75 views
Hi,
I am using Telerik Reporting Q2 2008 and using multiple columns in my report.
When the report generated, the records are ordered from up to bottom,
can I change the way record ordered from left to right?

Thanks in advance
Steve
Telerik team
 answered on 30 Jun 2009
1 answer
113 views
Hi,
Im using chart inside my telerik report. mine is a bar chart. when the value is 2.56 the value is showing as 3. but its positioning at 2.56..i want to display the items value as 2.56 itself.
vin
Top achievements
Rank 1
 answered on 30 Jun 2009
1 answer
87 views
Hi...


When I tried to run a web site in IIS (developed for testing Telerik Report) as described in this tutorial :http://www.telerik.com/support/kb/reporting/general/deploying-telerik-reporting.aspx- Deploying Web Sites, created on a development machine, there is no out put.
when I run the application in Visual Studio, Icould see the Reports but not when published.
 
Is it because of trial version...?

Any help would be greatly appreciated

~Robins
Steve
Telerik team
 answered on 30 Jun 2009
1 answer
59 views
I need a description how to bind two openaccess datasources (master/detail) to a Report.
Steve
Telerik team
 answered on 30 Jun 2009
0 answers
457 views
Been working with Telerik Reporting for three days now, and not particularly pleased (no drilldown, not much direct supported event handling, would have done better to RadGrid this output...). Here, however, is how to add a control to the Telerik toolbar. I want a single generic "Report Viewer" that all my reports can leverage. One benefit is being able to have a central process for user input to control the report display. But the Telerik Reporting toolbar is missing a "height" parameter. And, no direct way I can find to add it. Eck.

Reflection and IE Dev Toolbar to the rescue. IE Dev Toolbar tells me that there exists a <div> entry named ctl_rptvw_ReportToolbar as a child of the report viewer (named "rptvw" in my ascx):

<%

@ Control Language="C#" AutoEventWireup="true" CodeBehind="TelerikReportViewer.ascx.cs"

 

 

Inherits="ArchG2.Portal.rg2SupportingControls.Misc.TelerikReportViewer" %>

 

<%

@ Register Assembly="Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"

 

 

Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

 

<

 

asp:HiddenField ID="hdnExplicitHeight" runat="server" Value="0" />

 

<

 

div id="telerikViewer">

 

 

<telerik:ReportViewer ID="rptvw" runat="server" Height="300px" Width="100%"

 

 

oninit="rptvw_Init">

 

 

</telerik:ReportViewer>

 

</

 

div>

So I override the oninit and start exploring with  debugger:

 

 

protected void rptvw_Init(object sender, EventArgs e)

 

{

 

string flag = "";

 

 

try

 

 

 

 

{

 

// find the toolbar

 

 

 

 

flag =

"locate_toolbar";

 

 

Control ctlToolbar = rptvw.FindControl("ReportToolbar");

 

 

if (ctlToolbar == null) throw new ApplicationException("No toolbar; new Telerik version?");

 

 

// this is reverse engineered from telerik; might work

 

 

 

 

flag =

"create_controls";

 

 

Table tblHeight = new Table();

 

tblHeight.ID =

"PageHeight";

 

tblHeight.CssClass =

"ReportToolbarGroup";

 

Abr.CodeLibrary.Utils.

Global.MergeCssStyleAttributes(tblHeight.Attributes, "float:left;");

 

tblHeight.CellPadding = 0;

tblHeight.CellSpacing = 0;

 

TableRow rowHeight = new TableRow();

 

rowHeight.ID =

"row";

 

 

TableCell cellHeight = new TableCell();

 

cellHeight.ID =

"cell";

 

 

Label lblHeight = new Label();

 

lblHeight.ID =

"lblHeight";

 

lblHeight.AssociatedControlID =

"txtHeight";

 

lblHeight.Text =

"Height: ";

 

_txtHeight =

new TextBox();

 

_txtHeight.ID =

"txtHeight";

 

_txtHeight.Width =

Unit.Parse("5em");

 

 

LinkButton btnResize = new LinkButton();

 

btnResize.ID =

"btnResize";

 

btnResize.Text =

"Resize";

 

btnResize.Click +=

new EventHandler(btnResize_Click);

 

flag =

"add_controls";

 

cellHeight.Controls.Add(lblHeight);

cellHeight.Controls.Add(_txtHeight);

cellHeight.Controls.Add(btnResize);

rowHeight.Cells.Add(cellHeight);

tblHeight.Rows.Add(rowHeight);

ctlToolbar.Controls.Add(tblHeight);

}

 

catch (Exception ex)

 

{

LH.error(

"Problem at ", flag, ": ", ex);

 

NotifyError(

"Report: " + ex.Message);

 

}

//try

 

 

 

 

}

 

Reflection at first told me that the first child of the ReportToolbar control is of type Telerik.ReportViewer.WebForms.PageNavigationGroup. Too bad that type is not directly supported--it must be a private class. So I instead use good old F12 in the IE browser to turn on Dev Toolbar and take a peek at what Telerik actually generated, which was this:

<table class="ReportToolbarGroup" id="ctl_rptvw_ReportToolbar_NavGr" style="float: left;" cellSpacing="0" cellPadding="0">

Ah, says I, if they can generate a table then I can too! Which led to the code above and a LinkButton. (I could not use a regular Button, *someone* <ahem> put a style of "visible: false !important" on the generated input control. But the LinkButton works great, I get notified, I can respond to requested height changes and Bob's Yer Unkl.

In my btnResize_Click event, I simply set the Height of the wrapped report control (which, btw, I load dynamically from an ASCX property name hyuck hyuck) and I get the effect I want.

Score: 1 for us, zero for them.

Manny
Top achievements
Rank 1
 asked on 29 Jun 2009
0 answers
120 views

I  have created telerik report in web application using Visual studio 2008 and Report viewer version is 

(Telerik.ReportViewer.WebForms, Version=3.0.9.430, )

Its working fine in my lacol system but when i upload into server domain
it will through some error 

http://www.isms.shreema.com/incidents.aspx

 

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Incidents.aspx.cs" Inherits="Incidents" %>
Line 2:  
Line 3: <%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=3.0.9.430, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"Line 4:      Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>
Line 5:  

My remote server(web hosters) allowed only in frame work 2.0 because when i upload all .cs files into remote server
i got one error in following  namespace(its not supported)

 

using

 

System.Linq;

 

using

 

System.Xml.Linq;

 

 

So i removed that two namspace but i have problem in report viewer how to solve taht version problem

Regards

Abdul

Azees
Top achievements
Rank 1
 asked on 29 Jun 2009
3 answers
386 views
Greetings,

As a parameter i am using a dropdown with organisations. Each organization has settings which i select in a NeeddataSource event for a chart.
When using these settings to update the background color of the header section, set a new picturebox image or use the parameters to fill textboxes in the detail section the report doesn't show these changes.
Only after a click on the refresh button of the reportviewer the changes are shown.

Any ideas how to get this to work?

With regards,

Peter
Steve
Telerik team
 answered on 29 Jun 2009
1 answer
101 views
Hi, I am new to using any reporting suite. Usually I query data from the db and manually parse it out and generate my html layout. I was hoping using a reporting toolset would make things easier.

I've been reading and following along some telerik reporting guides.

It looks like paramaters and filtering do not take place at the db-level and are instead after the data is pulled. This is a big problem for me. I need to use params when i pull the data. I could be pulling a million records if i can't have the report pull only the records for a specific userID and then report on it.

Is there any way to make it work like i expected it to?
Or am i going to have to stick to using a grid?
Steve
Telerik team
 answered on 27 Jun 2009
3 answers
236 views
Hi ,

In a dataset there are more than 10 records, while populating these records to telerik report it displays only one record.
kindly suggest me the options for showing all the records in telerik report.

Regards,
Parthiban.
Steve
Telerik team
 answered on 27 Jun 2009
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?