Telerik Forums
Reporting Forum
3 answers
684 views
Hi, I want to set a TextBox auto-size.
I know it can be done by using Binding property and user function.
But I also need to serialize this report to xml.
Width.Value is readonly, so I cannot set it's width without using user function.
Is there any other way to do this?
Elian
Telerik team
 answered on 21 Aug 2012
10 answers
259 views
When trying to view the preview of my report in the Telerik-ReportViewer-Control in my application running NOT on my development machine I get the following error message:

"ExtensionParamter Unit on extension type Telerik.Reporting.ExcelRendering.Excel97.ExcelReport, Telerik.Reporting, Version=4.2.10.1110, Culture=neutral, PublickeyTogen=a0d7983dfcc261be can not assign the specific value.

pt is not a valid value for UnitType

Requested value 'pt' was not found."

This message only appears, if the application is not running on the development machine and the report contains data.
If the data-set is empty the report-header is shown.

Both machines (development and test) are running win7 64.

What could be the problem?
Jeremi
Top achievements
Rank 1
 answered on 21 Aug 2012
3 answers
506 views
hi,
  I am creating a pdf using telerik report.i want to apply watermark to that pdf dynamically..is it possible to apply watermark to that pdf file...

Regards,
Narmatha.P
Steve
Telerik team
 answered on 20 Aug 2012
1 answer
399 views
I'm in a bit of a muddle here, these reports worked fine, until I upgraded to the latest Reporting controls. Then I had some DLL issues and ended up uninstalling and re installing again.

The reports sit in a folder and are XML files.
These are deserialised for viewing

We are now getting the error - There was an error reflecting type 'Telerik.Reporting.Report'

This is the code that doe the de serialise:
'Create an XML reader object from the updated string
Using xmlReader As System.Xml.XmlReader = System.Xml.XmlReader.Create(New System.IO.StringReader(xmlString))
 
    'Create the report object and assing it the deserialised report definition
    Dim xmlSerializer As New System.Xml.Serialization.XmlSerializer(GetType(Telerik.Reporting.Report))
    Dim report1 As New Telerik.Reporting.Report
    report1 = xmlSerializer.Deserialize(xmlReader)
    report1.Report.ReportParameters(0).Value = imagePath
    report1.Report.ReportParameters(1).Value = Session("User_GUID").ToString
 
    'Assing the report object to the report viewer
    ReportViewer.Report = report1
End Using

I know its not the latest good practice but changing the serialiser to this

Dim xmlSerializer As New Telerik.Reporting.XmlSerialization.ReportXmlSerializer()
Dim report As Telerik.Reporting.Report = DirectCast(xmlSerializer.Deserialize(xmlReader), Telerik.Reporting.Report)

Gives the new error: - An error has occurred during xml serialization. The xml serializer cannot resolve type with name:

Searching the forum doesn't return any results, so guessing this is a new problem.
Andy

Steve
Telerik team
 answered on 20 Aug 2012
4 answers
419 views
I am confused.  I have a chart with 10 fields of numbers.  I select one field, go to format, and set the format to currency with zero decimal places.  Next I right click the field and select COPY STYLE.  Then I select the other 9 fields and select PASTE STYLE.  The format of the other 9 fields does not change.  I have tried selecting all the fields and then right clicking, but when I do that the format option is grayed out and unavailable.

I have had a similar experience where pasting the style from one field to another did not change the font size of the second field to match that of the first.  Doesn't COPY STYLE apply to all elements - size, font, color, bold,, etc?

I am not sure if I am doing something wrong, or if possibly something is corrupt in my Visual Studios installation.  It seems like this should work.

Thanks,
Kevin
Steve
Telerik team
 answered on 20 Aug 2012
1 answer
283 views
As the Title indicates, I had a version of my reports project working fine. I upgraded to 6.1.12.611 today and this line of code is throwing an error.

"SubReport7.ReportSource.DataSource = data"

The code snippet is as below

StartDate = ReportParameters("StartDate").Value
EndDate = ReportParameters("EndDate").Value
ID = ReportParameters("ID").Value
Source = ReportParameters("Source").Value
data = adapter.GetData(StartDate, EndDate, Source, ID)
SubReport7.ReportSource.DataSource = data

adapter is Table adapter and data is DataTable. Can you tell me why this code doesn't work anymore.
Steve
Telerik team
 answered on 20 Aug 2012
3 answers
171 views
I get "The service Telerik.Reporting.Design.Interfaces.IRootDesignerPresenter already exists in the service container." every time I change from one language to another on a report.  As reported in other threads, closing the report and reopening allows one to get by, but it is highly annoying if one is going to translate the same report into a dozen languages.
Peter
Telerik team
 answered on 20 Aug 2012
3 answers
98 views
I am testing the reporting tools, but I can't seem to get past this issue.

I have a small report (that I want to use as a sub report) and it contains a table in the GroupHeader that shows information. It should also contain a table in the Details area. If I add a table (drag and drop) and I click on Preview, I get the Object not set error. If I delete the table from the Details area the Preview works.

I have also tried adding data and it works fine. It is just the table that hates me.

Any ideas would be greatly appreciated.

Environment:
Visual Studio 2010 SP1 
SQL Express 2008 
Telerik Reporting Q2 2012 build 6.1.12.807


Steve
Telerik team
 answered on 20 Aug 2012
8 answers
791 views
Hi can anyone help me on this pls.

i am using telerik reporting "Telerik Reporting Q2 2010" in visual studio 2008. and (in add newitem i choose the telerik) and create a file called Report1.vb.

when i try to create sql datasource in properties by clicking "report parameters -> new sqldatasouurce -> new connection" it displaying the messge box "Object reference not set to an instance of an object.".

but it working fine in visual studio 2005. can create datasource.

not working in  visual studio 2008.

can pls help me :(
Jaco Hamilton-Attwell
Top achievements
Rank 1
 answered on 20 Aug 2012
3 answers
183 views
Hi

I added a new report to an already existing Report library  and strangely I am getting this error:

Could not load file or assembly 'Telerik.Reporting.Design.Interfaces, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Can you please help me figure this issue..
Peter
Telerik team
 answered on 20 Aug 2012
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?