Telerik Forums
Reporting Forum
0 answers
88 views
I have a report that binds to a collection of objects. One of the properties on the object is an enumeration. When the report is ran, the field with the enumeration shows up as an integer. How can I convert an enumeration field to use the actual value of the enumeration instead of the integer value?
kelly moore
Top achievements
Rank 1
 asked on 25 Feb 2010
4 answers
249 views
Hey, this may sound like a stupid question
But is there a way to inject HTML Document in the report, say like IFrame

We've a rendered HTML page that we want to include or capture in the report, is there a way to do so?
i've looked the HTMLTextBox control, but i guess it renders only html text, not complex html page including images and charts :'(
David Sal
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
54 views
I understand there are some limitations to shared hosting on telerik reporting. Does this image have somethign to do with it?

Steve
Telerik team
 answered on 25 Feb 2010
2 answers
300 views
I'm getting this error on my production server, everything works fine on my dev machine. Any ideas?

It's a silverlight application using the silverlight report viewer.

Windows 2008 server IIS7

Error Message: An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
Error InnerException: System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
   at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
   --- End of inner exception stack trace ---
   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
   at proxy_2.EndListRenderingExtensions(IAsyncResult )
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
   at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
Error StackTrace:    at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
   at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
   at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Object state)

Pablo Tola
Top achievements
Rank 2
 answered on 25 Feb 2010
1 answer
160 views
I have a master report with a sub-report. When I display the master report in the report viewer on my web page, the master report display alright, but the sub-report doesn't get displayed until I press the refresh button on the viewer. I have verified with the debugger and know that the sub-report is being run, but it doesn't get displayed until I press the refresh button. Any ideas what I could be doing wrong?

TIA
Steve
Telerik team
 answered on 24 Feb 2010
2 answers
454 views
I have tried to remove the seconds from the display of t TimeSpan field with no success,
I tried {0:t} , {0:T} ,{0:hh:mm} , in all 3 cases I see hh:mm:ss where did I go wrong ....
I'm using q3 2009

Mickey
Top achievements
Rank 1
 answered on 23 Feb 2010
12 answers
199 views
Hi,
i just upgraded to the Q3 that was out a few days ago.
I can't get my code that binds the reports to the data source to work.
The following works fine:


 

public PatientReport()

 

{

 

/// <summary>

 

 

/// Required for telerik Reporting designer support

 

 

/// </summary>

 

InitializeComponent();

 

//

 

 

// TODO: Add any constructor code after InitializeComponent call

 

 

//

 

 

// TODO: This line of code loads data into the 'pCGProduction211009DataSet.PCGProduction211009DataSetTable' table. You can move, or remove it, as needed.

 

 

try

 

{

 

this.pcgProduction211009DataSetTableAdapter1.Fill(this.pCGProduction211009DataSet.patient);

 

}

 

catch (System.Exception ex)

 

{

 

// An error has occurred while filling the data set. Please check the exception for more information.

 

System.Diagnostics.

Debug.WriteLine(ex.Message);

 

}

}


but when i try to bind through the NeedDataSource event with the following code:


 

public

 

PatientReport()

 

{

 

/// <summary>

 

 

 

 

 

 

/// Required for telerik Reporting designer support

 

 

 

 

 

 

/// </summary>

 

 

 

 

 

InitializeComponent();

DataSource =

null;

 

 

}

 

private PCGProduction211009DataSet.patientDataTable GetData()

 

{

 

using (patientTableAdapter adapter = new patientTableAdapter())

 

{

 

var data = adapter.GetData();

 

 

return data;

 

}

}



i get an error when the report runs as you can see in the file attached. This code does work with Q2.

What has gone wrong?

Naphtali

Steve
Telerik team
 answered on 23 Feb 2010
1 answer
200 views
How do i stream a tiff file byte[] to a telerik web report viewer control?  I was previously streaming the byte array to content-type image/tiff but users are having issues viewing the tiff so now I am looking for a good work around.

Thanks
Steve
Telerik team
 answered on 23 Feb 2010
2 answers
57 views
Hi,

If I put a stop command in vb.net in the detail_ItemDataBound event, VS crash. If I put a break line in the code, the code doesn't stop. Is there a way to break execution in the design preview?

thanks
Steve
Telerik team
 answered on 22 Feb 2010
1 answer
363 views
If I put a PageBreakAfter for a group, is the page break executed even if the group is invisible?
Steve
Telerik team
 answered on 22 Feb 2010
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?