Telerik Forums
Reporting Forum
2 answers
179 views
Hi,
Below is the printed report:
----------------------------------------------------------------------------
                                                                                                Page 1 of 2




http://.../Telerik.ReportViewer.axd?instanceid=fdca9ffa4acd4c7... 2008-8-1
---------------------------------------------------------------------------
My questions are :
1) In my report view mode, the pages is not showing at the top right corner but when I prin the report. It shows in my report. I don't want the pages show in my repot. May I know how?

2) At the bottom of the report it printed the address, path and date of telerik report. But I don't want it to be show in my report. How?

3) When the report is shows at the web page, it looks nice with textbox color, but when I print it out, the color doesn't exists. It is only plain text. How ?

Thanks in advanced.

Steve
Telerik team
 answered on 04 Aug 2008
1 answer
163 views
Hi,

May I know how can I add web report background image? When I click on the ImageData, I was prompted with error message of "Value can not be null parametername: docData"

Please advice.
Steve
Telerik team
 answered on 04 Aug 2008
3 answers
154 views
I have just a few questions I'm hoping someone has answers to.

1. What types of delivery options does Telerik support (push, pull, email, dashboard, etc.)?

2. What type of security and filtering options are there?

I could not find any of this in the online documentation.

Thanks.
Steve
Telerik team
 answered on 04 Aug 2008
1 answer
119 views
Hi,

I am attempting to upgrade our reports from Q1 2008 to Q2 2008 and receive this error shortly after opening the upgrade wizard from the IDE toolbar menu and clicking next.

System.XmI.XmlException: ‘TagPrefix’ is an unexpected token. Expecting white space. Line 6, position 44.
at System.XmI.XmlTextReaderlmpl.Throw(Exception e)
at System.XmI.XmlTextReaderlmpl.Throw(String res, String arg) at System.XmI.XmlTextReaderlmpl.ParseAttributesO
at System.XmI.XmlTextReader!mpl.ParseElemento
at System.XmI.XmlTextReaderlmpl.ParseElementContentO
at System.XmI.XmlTextReaderlmpl.ReadO
at System.XmI.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.XmI.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.XmI.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.XmI.XmlDocument.Load(XmlReader reader)
at System.XmI.XmlDocument.LoadXml(String xml)
Telerik.Reporting.UpgradeWizard.Action.AnalyzeAnalyzerBase.Analyze( String content)
at
Telerik.Reporting.UpgradeWizard.Action.Analyze.WebPageAnalyzer.Ana Iyze(String content)
Telerik.Reporting.UpgradeWizard.Action.Analyze.ContentAnalyzerAnaly ze(String fileName, String content)
at
Telerik.Reporting.UpgradeWizard.Action.ProjectAction.GetVersion(Proje ctltem item, ContentAnalyzer analyzer)
at
Telerik.Reporting.UpgradeWizard.Action.ProjectAction.GetVersion(Proje ct project, Upgradelnfo upgrade)
Telerik.Reporting.UpgradeWizard.Action.ProjectAction.GetReferences(S olution solution, Upgradelnfo upgrade)
at
Telerik.Reporting.UpgradeWizard.Action.ProjectAction.ExecuteQContext context)
Telerik.Reporting.UpgradeWizard.Action.ActionQueue.’c> c_DisplayClas sl.< Execute> b_OO

Thanks

Charles

Ivan
Telerik team
 answered on 01 Aug 2008
3 answers
383 views
Hi,

I'm having some difficulty with the Report Parameters. I've been following previous posts and reviewing examples (in particular the WebReportParams) however my parameters are reset back to their default when the report is run. From my debugging it looks like the default constructor is being called when the report is processing which is overwriting the parameter values I previously set.

Here's some of my code to give you and idea of what I'm doing.

ASPX Page - in a button.click handler

Dim report As New BizportReports.PreBill(rcb_BillNo.SelectedValue)
report.ReportParameters(0).Value =
"New Text"
Me.ReportViewer1.Report = report


Report Code - two constructors

Public

Sub New()
InitializeComponent()
Try
Me.DataSetTableAdapter1.Fill(Me.DataSet1.vTable)
Catch ex As System.Exception
System.Diagnostics.Debug.WriteLine(ex.Message)
End Try
End Sub


Public
Sub New(ByVal p_BillID As Int16)
InitializeComponent()
Try
Me.DataSetTableAdapter1.FillWithParameters(Me.DataSet1.vTable, p_BillID)
Catch ex As System.Exception
System.Diagnostics.Debug.WriteLine(ex.Message)
End Try
End Sub

Lastly report parameter is accessed through;

Me

.Report.ReportParameters(0).Value

I tried removing the second constructor to make the BillID a Report Parameter as well, however the same issue occurred and the BillID was always reset.

Any ideas?
Cheers,
Karin

Milen | Product Manager @DX
Telerik team
 answered on 01 Aug 2008
1 answer
205 views
Hi..
     I couldn't move the background image to required position.i want to place background image at particular position.

Regards
 HR
Steve
Telerik team
 answered on 01 Aug 2008
3 answers
70 views
I understand that whether in Smart Part or not, Telerik works as normal like any .NET.

I have a report library like the best practice, have a report in a dll.

the sql i have programatically code in with some params supposed to be keyed in by the user. at the first time when the report is shown, there is no problem. but the moment i press a button and update the params, the whole report give me an blank report.

so i tried having a button but not do anything. pressing the button gives me the same problem. i think the moment there is a postback, the report goes blank. i have no idea what is wrong. would be very grateful if someone can help me with this.

this is my ascx.cs file.

    protected void Page_Load(object sender, EventArgs e)
    {
        ReportViewer1.Report = new LibUserReport();
    }

    protected void Button1_Click1(object sender, EventArgs e)
    {
        Label1.Text = "Datasource is null";
    }

this is my ascx file

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
    <table width="500">
        <tr>
        <td>
            <asp:Label ID="Label1" runat="server" Text="Designation"></asp:Label>
            <asp:TextBox ID="tbDesignation" runat="server"></asp:TextBox>
            <asp:Button ID="Button1" runat="server" Text="Preview" OnClick="Button1_Click1" />
        </td>
        </tr>
        <tr>
        <td>
            <telerik:ReportViewer ID="ReportViewer1" runat="server" />
           
        </td>
        </tr>
    </table>   
</ContentTemplate>
</asp:UpdatePanel>

Eugene
Top achievements
Rank 1
 answered on 01 Aug 2008
4 answers
1.2K+ views

can anyone knwos how to convert a sample date in a datafield?

for this sample
  my parameter is Start Date and End Date and i want to view it on one  datafield in header secti

Pag-Ibig Loan Remittance from “Start Date” to “End Date”

on


 

 Start Date: 01/01/2006 End Date: 01/31/2006

 Pag-Ibig Loan Remittance form 01/01/2006 to 01-31/2006


because as of now i try it and the output have time and it should be date only..


if are there any new function in telerik reporting?

such as getting the first,secong,third and fourth value in a data like a Parameter which is datatype is an integer?


sample: my parameter is : Pay Year (datatype is integer)
and input a 2006 in the parameter

the output should be shown on a 4 datafield and every filed there should be one value

like 

 

2

0

0

6





Chavdar
Telerik team
 answered on 01 Aug 2008
1 answer
188 views
Hello,

when I export my report to excel the number values are rendered as cells that are formatted as text. Even if I set the format property on the report textbox to {0:N}. How do I get the output to register as numbers in Excel?

Here's some more information about what I'm doing.

- the datasource for the report is datatable set at runtime
- the textbox values are things like "=Fields.post_po"
- I didn't use the wizard to generate this report
- very basic report with only pageheader, detail, and pagefooter sections

Thank You,
Govinda
Chavdar
Telerik team
 answered on 31 Jul 2008
2 answers
186 views
Hi,

I am using the Telerik report 2.0 (Q3 2007), but recently I wanted to use the new released barcode. So I installed the Q2 2008 without uninstall Q3 2007. Now the problem is: when I am import the the namespace Telerik.Reporting , it will give me a hightlight showing ambiguous namespace. May I know how to solve this?

Thanks in advanced.
Ivan
Telerik team
 answered on 31 Jul 2008
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?