This is a migrated thread and some comments may be shown as answers.

Image format not Supported: Emf After Upgrade to Q3

9 Answers 178 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dhananjay
Top achievements
Rank 1
Dhananjay asked on 17 Nov 2011, 07:32 PM
Hello Forum,
I upgraded my free trial Telerik Reporting installation to Licensed Q3 installation. When I upgraded a VS2010 web project using Telerik Upgrade wizard, I've started getting the Error: "Image Format Not Supported: Emf" in HTML Preview and in Report Viewer in ASPX page.
I tried to change the Image format property of the individual chart objects on the report to all the other formats listed, however that seems to be not accepting any other format than Emf.

Any suggestion to resolve this problem?

9 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 18 Nov 2011, 05:05 PM
Hi Dhananjay,

Set the ImageFormat directly in the report constructor after InitializeComponent() i.e.:

chart1.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;

However we were not able to reproduce such a problem on our end with the latest Q3 2011 release and would appreciate if you open a support ticket and attach a runnable project that exhibits the issue.

Greetings,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

0
Dhananjay
Top achievements
Rank 1
answered on 18 Nov 2011, 07:00 PM
This solved the problem. Thanks!
0
Satish
Top achievements
Rank 1
answered on 23 Jul 2012, 07:55 AM
Hi Telerik,

                Here am getting an error (i.e, Image format not supported:emf.). I am getting error in the Version=5.3.11.1116  and am not getting in Version=6.0.12.215. My question is I developed a report in 6.0.12.215, and am using that report in 5.3.11.1116.Is the problem with  version or what.

with regards 
sateesh
0
Steve
Telerik team
answered on 23 Jul 2012, 12:02 PM
Hi Satish,

In general we aim to be backwards compatible as much as possible, meaning reports created with older version of Telerik Reporting would work with newer versions with none or as little changes as possible. The other way around (reports created with newer versions on older version) is not tested and intended to be supported, unless you have downgraded the project with the reports to the older version and verified they work correctly.

With the Q3 version, you can avoid this error by using the workaround provided in previous post.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Satish
Top achievements
Rank 1
answered on 08 Aug 2012, 01:31 PM
HI Telerik,
          
                   I am new to telerik report, having problem with <br/> tag. I dont want to display <br /> in report.Please give me solution for this,
                   
    =Reports.ReportClass.HTMLSafe(Fields.FName + Fields.SName + '<br/>' + 
Fields.address1 + Fields.address2 + Fields.address3 + Fields.address4 +Fields.postcode) 

Here am using htmltextbox only ,please find the attachment
0
Steve
Telerik team
answered on 08 Aug 2012, 03:39 PM
Hi Satish,

We've already answered your inquiry in the other thread you have written to. Here is our answer:
You're probably using this expression inside the TextBox item, which does not support html. You should be using the HtmlTextBox item instead.

Regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Satish
Top achievements
Rank 1
answered on 13 Aug 2012, 06:25 AM
HI Forum,
                 In report title I assigned a value "=(Fields.ReqStatusDesc) "[this is a dropdown list expression].Now that expression display as title when data is there database.My question is i want to display title even without data in database.

for example: If I selected a value say "A".Data is there in database related to that value what i selected in dropdown list.That value should displayed as report title.How to display the selected value even no data in database.Please help me ASAP


with reagards,
satish
0
IvanY
Telerik team
answered on 15 Aug 2012, 07:40 AM
Hello Satish,

Up to your question - you can just write an expression like the following one:
= IsNull(Fields.FieldThatContainsNULLS, "This will be displayed if there is no data")

To find out more information about expressions, please check the Expressions help article and the related sub-articles.

All the best,
IvanY
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Satish
Top achievements
Rank 1
answered on 20 Aug 2012, 07:17 AM
Hi Ivany,
              I tried with that expression, but its not working for me.This is my expression "=(Fields.ReqStatusDesc) ", if that expression contains null then i want to display this" cancellation-refused-recalled".Can you give expression for this issue.

with regards,
satish
Tags
General Discussions
Asked by
Dhananjay
Top achievements
Rank 1
Answers by
Steve
Telerik team
Dhananjay
Top achievements
Rank 1
Satish
Top achievements
Rank 1
IvanY
Telerik team
Share this question
or