Telerik Forums
Reporting Forum
3 answers
91 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
213 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
202 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
1 answer
167 views
Thie example does not seem to work.   I want to catch the report and find an integer value and replace it with a string.  Do you know how to do that?
I do not see many examples. 

  private void detail_ItemDataBound(object sender, System.EventArgs e)
        {
            Processing.DetailSection section = sender as Processing.DetailSection;
            Processing.ReportItemBase extraShipping = section.Items.Find("extraShippingCostTextBox", false)[0];
            DataRowView row = section.DataItem as DataRowView;
            if (null != row)
            {
                object val = row.Row["Weight"];
                if (!(val is DBNull) && ((decimal)val) > 10)
                {
                    extraShipping.Visible = true;
                }
                else
                {
                    extraShipping.Visible = false;
                }
            }
        }
Svetoslav
Telerik team
 answered on 31 Jul 2008
3 answers
82 views
I am looking at the design view of my class based report and I can't see the buttons to zoom in, align, etc.  Is there some setting that I need to enable in order to see them?
Steve
Telerik team
 answered on 30 Jul 2008
3 answers
100 views
Is there a way to use ajax with the report viewer?  I have tried but it does not seem to work.  Thanks
Steve
Telerik team
 answered on 30 Jul 2008
5 answers
226 views
Hi,

I know currently you can currently programmatically call export functions etc.

I was wondering if in future versions you were going to allow a developer to programatically modify the functions available within the built in reporting toolbar.

Regards,

Graham O'Riley
Netdocs Plc

Graham O'Riley
Top achievements
Rank 1
 answered on 30 Jul 2008
1 answer
117 views
What are the limitations of the demo?  30 days?  Limited functionality? 
Steve
Telerik team
 answered on 30 Jul 2008
4 answers
193 views
I just published a proof of concept showing live data within Telerik Reporting(Demo) Viewer. What I can't figure out is why the exporting function (pdf, tiff, Excel, etc.) as well as the printing function do not work? Are these functions available in the full version?

Sasa
Top achievements
Rank 1
 answered on 29 Jul 2008
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?