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

7 posts, 0 answers
  1. David
    David avatar
    37 posts
    Member since:
    Aug 2014

    Posted 01 Apr 2015 Link to this post


    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>


  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 02 Apr 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    37 posts
    Member since:
    Aug 2014

    Posted 02 Apr 2015 Link to this post

    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.
  5. David
    David avatar
    37 posts
    Member since:
    Aug 2014

    Posted 02 Apr 2015 Link to this post

    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.
  6. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 03 Apr 2015 Link to this post

    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.

     
  7. David
    David avatar
    37 posts
    Member since:
    Aug 2014

    Posted 03 Apr 2015 in reply to Peter Filipov Link to this post

      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.

  8. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 08 Apr 2015 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017