Telerik Forums
Reporting Forum
1 answer
117 views
I am binding htmlTextBox to HTML which is having table in it. But report is not showing table. Is HTMLTextBox supports only few tags of html?
How can I fix it?
Elian
Telerik team
 answered on 20 Dec 2011
1 answer
139 views
I have a report viewer in WPF, I'd like to show the user some feedback when changing pages (on a slow pc this can take 4-8 seconds).

I have bound to the "IsInProgress" property, but nothing happens.

<controls:CircularProgressBar Message="{Binding ProgressMessage}" >
    <controls:CircularProgressBar.Visibility>
        <Binding Path="IsInProgress">
            <Binding.Converter>
                <telerikViewer:VisibilityConverter/>
            </Binding.Converter>
        </Binding>
    </controls:CircularProgressBar.Visibility>
</controls:CircularProgressBar>


 I suspect that Telerik is not realeasing the UI thread for the progressbar to appear. 

Any ideas?
Elian
Telerik team
 answered on 20 Dec 2011
1 answer
79 views

Hi,

I am using Telerik  Reporting Q2 2011 with Silverlight 4. I would like to access printer preferences and set the default layout for print to Landscape. Is it possible using this release or by using latest release (Q3 2011) of Telerik Reporting?

Adil

 

Elian
Telerik team
 answered on 20 Dec 2011
1 answer
176 views
Hi
currently hosting my project on  iis 6.0(windows server 2003)
and it gives that error...
couldn't find a way to fix it plz help it's urgent..
Massimiliano Bassili
Top achievements
Rank 1
 answered on 20 Dec 2011
1 answer
63 views
I have an horizontal alignment issue where the report displayed is not centered in the webviewer once I upgrade it to Q3 2011. Before this , i was using Q2 2011 and it works perfectly fine.

Attached is how it looks like after upgrade.
Steve
Telerik team
 answered on 20 Dec 2011
3 answers
822 views
Hi there,

How I can pass parameters to my sql queries in query builder. Please look at picture.

In my ReportViewer I do that:

 public SGASeguranca()
        {
            InitializeComponent();

            try
            {

                ReportViewer1.Report = "ReportClass.ParticipantesReuniao, ReportClass, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
                ReportViewer1.ReportServiceUri = new Uri("../ReportService.svc", UriKind.RelativeOrAbsolute);
                ReportViewer1.RenderBegin += new Telerik.ReportViewer.Silverlight.RenderBeginEventHandler(ReportViewer1_RenderBegin);
                
            }
            catch(Exception e)
            {
            }

        }

        void ReportViewer1_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
        {
            args.ParameterValues["REUNIAOID"] = 1010;
            
        }

And in code-behind of my report I do that:

   void ParticipantesReuniao_NeedDataSource(object sender, System.EventArgs e)
        {
            Telerik.Reporting.Processing.Report report = (Telerik.Reporting.Processing.Report)sender;

            this.sqlDataSource1.Parameters[0].Value = report.Parameters["REUNIAOID"].Value;

            // Set the SqlDataSource component as it's DataSource
            report.DataSource = this.sqlDataSource1;
        }

But now, I want use this REUNIAOID in query builder.

How I can do that?

Thanks in advance
Manuel
Top achievements
Rank 1
 answered on 20 Dec 2011
8 answers
670 views
I had done some reports for industrial production in the Q3 2009 release. I had no issues using MultiValue parameters and passing it so that the customer could look at multiple items in a single report if needed. I am updating and doing some new reports and have found that in the Q3 2010 release the multivalue continually throws me a error but not if the MultiValue is set to False ( it runs fine then). This is happening after upgrading the reports from the old version. If I go back to the old version, they run fine.
I am getting the following error:

Cannot perform '=' operation on System.String and System.Object[]

I checked the documentation and see nothing new for setting Multivalue parameters. I might be blind though and just missed it. Any ideas as to what is causing this and how to resolve it? I apologize I usually do reports using a different package. The customer has been happy with the look and feel of the old ones.

Thanks!

Tom
Varun
Top achievements
Rank 1
 answered on 19 Dec 2011
1 answer
79 views
Having a small issue with the report viewer. Currently if a user tries to export the report to a file and attempts to overwrite an existing file that is used by another process (such as, it's currently open), the Report Viewer causes an unhandled exception and crashes the app.

Is there an accepted way to handle this scenario? Looking at the code, it seems like there should be a try/catch block around the block of code in the SaveExportCommand that writes to the file system.
Elian
Telerik team
 answered on 19 Dec 2011
4 answers
155 views
.. or I'm even dumber than generally accepted.

Have a look at the attached image.

This is from the detail section of a report. The detail section contains a crosstab (highlighted in Red.

Now, The crosstab has 2 row groups (and the content of these in show in bold).

I've been trying to find a way of getting the whole row for each top-level row group to be formated with the same background colour.

I thought Id cracked it by doing this in code ...
static int TabCount = 0;
public static int GetTabCount()
{
    return TabCount;
}
private void textBox25_ItemDataBound(object sender, EventArgs e)
{
    TabCount++;
}

textBox25 is the textbox holding the top-level grouping value.

I then, for both row groups and the detail section, set up a Conditional Formating rule with Filter="=GetTabCount() % 2" Condition = "Equal" an Value = "=1".

As you can see from the screen shot, this works for the row group cells but not for the detail cell.

I did a test and got the system to echo the value of GetTabCount() for each of the cells in the crosstab and got:
0 - 0 - 3
1 - 1 - 3
2 - 2 - 3

And I'll be damned if I can figure out why.

It seems that textBox25 is being bound more often that I think it should (so I guess my understanding og that is wrong too) and that the detail cells are being bound after the all of the row grouop cells on all of the rows.

Simply formating a report shouldn't be this hard.

If anyone can off any help, I will very grateful.

--
Stuart

Stuart Hemming
Top achievements
Rank 2
 answered on 19 Dec 2011
5 answers
199 views
Hi there,

I´ve installed the telerik reporting and tried to add to my silverlight application but give me an error?

How I can create a report in Silverlight?

Thanks
Manuel
Top achievements
Rank 1
 answered on 19 Dec 2011
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?