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

What You See is **NOT** What You Get

6 Answers 42 Views
ClientExportManager
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 01 Apr 2015, 03:41 PM

With the below code snippet, the text is offset to the right and down in the first RadOrgChart node, and becomes further offset in each subsequent node... rapidly disappearing completely from the node.

When exporting a table that has multiple RadGrids, the text is properly centered but the images of table borders and RadGrid cells are offset left and up. Almost as if the image ignores the PDF margins while the text does not.

Does anyone have an idea on how to get the PDF to reflect what is seen on the screen?
<div class="foo">
       <telerik:RadOrgChart ID="orgCMF" runat="server" DataFieldID="POSC" DataFieldParentID="CPMOS"
          DataTextField="POSC" DisableDefaultImage="true" OnNodeDataBound="orgCMF_NodeDataBound" Skin="Simple">
          <ItemTemplate>
              <div class="nodeText">
                  <span>Rank: <%#DataBinder.Eval(Container.DataItem, "Rank")%></span></br>
                  <span>DMOS: <%#DataBinder.Eval(Container.DataItem, "POSC")%></span>
                  <br />
                      <asp:Label ID="lblAuth" runat="server"/>
                  <br />
                      <asp:Label ID="lblAuthFem" runat="server" />
                  <br />
              </div>
          </ItemTemplate>
 
       </telerik:RadOrgChart>
</div>


6 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 02 Apr 2015, 08:39 AM
Hi David,

From the described scenario it seems that you have a complex page. I have isolated the provided code snippet on a sample page and everything is exported as expected. Could you please try to modify it in order to reproduce the problem? Please clarify which browser you are using?

Regards,
Peter Filipov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
David
Top achievements
Rank 1
answered on 02 Apr 2015, 01:17 PM
I am on IE 9.0.8112 upodate version 9.0.63. Java version 8 update 11, 64 bit OS
Tried both 32 bit IE and 64 bit IE. Compatability mode off, document mode IE 9. Both export with the images off-set and missing Org Chart node text. Also tried combinations of browser mode/document mode for IE7, IE8, IE9, IE9 compatability. In all cases when the PDF would export, the images were offset.

Tried Google Chrome. PDF comes out with images in the right places and text properly set in the Orgchart nodes.  Yeah!
But forcing all users to Google Chrome is not an option, so I have to get IE to properly display the images.

I have done a trimmed down version of my page that has only the ClientExport controls, a button, and the above snippet. The text is still offset in IE.
0
David
Top achievements
Rank 1
answered on 02 Apr 2015, 01:18 PM
I am on IE 9.0.8112 upodate version 9.0.63. Java version 8 update 11, 64 bit OS
Tried both 32 bit IE and 64 bit IE. Compatability mode off, document mode IE 9. Both export with the images off-set and missing Org Chart node text

Tried Google Chrome. PDF comes out with images in the right places and text properly set in the Orgchart nodes.
Forcing all users to Google Chrome is not an option, so I have to get IE to properly display the images.

The default.aspx page from your WYSIWYG sample has the same issue on my end.
0
Peter Filipov
Telerik team
answered on 03 Apr 2015, 10:58 AM
Hello,

I have tested the page under the mentioned browser and everything is working fine. Could you reproduce the issue on other PC with the same browser version. 

Regards,
Peter Filipov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
David
Top achievements
Rank 1
answered on 03 Apr 2015, 01:15 PM

  I have posted the project on our intranet and had other users attempt the export and the only way its working is on Google Chrome or IE 11 {in compatability mode}. However our clients are all baselined the same so the cause appears to be some setting/feature/whatever in how our clients are configured versus how yours is.

 

Due to time constraints, I have to move on to other parts of the code. I will continue to monitor this thread to see if any other user finds whatever browser setting/java/whatever that is different between your machine and mine.

0
Peter Filipov
Telerik team
answered on 08 Apr 2015, 08:22 AM
Hi David,

In case that you find out how to reproduce the issue, please let us know. We have tested the sample under the mentioned browsers and everything is fine, probably the problem comes from some configuration in the environment.

Regards,
Peter Filipov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
ClientExportManager
Asked by
David
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
David
Top achievements
Rank 1
Share this question
or