change dotted line

5 posts, 2 answers
  1. Ricky
    Ricky avatar
    10 posts
    Member since:
    Apr 2012

    Posted 11 May 2012 Link to this post

    Hi, is it posible to change the dotted line on the org chart, with the solid line and has arrow on the end of the line,
    also, for the export to PDF feature, i search on the other thread, it said that it can be achived using PDFForge, how is the approach ?

    i checked on the PDFForge website, it is only provide an exe file.


    Thanks,
    Ricky
  2. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 11 May 2012 Link to this post

    Hi Ricky,

    To change the dotted lines with a solid one you will need to alter the sprite image that is currently applied(you can see the attached sprite image) with the desired one and use the following css class to set the image:
    div.RadOrgChart_Office2010Silver .rocLineUp,
     div.RadOrgChart_Office2010Silver .rocLineDown,
     div.RadOrgChart_Office2010Silver .rocLineHorizontal {
        background-image: url("../rocLinesDark.png");
    }

    Of course if you are using the Default skin you will also need to change the above mentioned to selector in the following way:
    div.RadOrgChart_Default .rocLineUp,
     div.RadOrgChart_Default  .rocLineDown,
     div.RadOrgChart_Default  .rocLineHorizontal {
        background-image: url("../rocLinesDark.png");
    }

    Considering the pdf export of the RadOrgChart I would suggest that you use this free tool that enables export of every web page since at this point RadOrgChart control does not support pdf/doc export. Although, the feature is going to be considered for the next releases I am not able to give you an exact time frame.

    Greetings,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ricky
    Ricky avatar
    10 posts
    Member since:
    Apr 2012

    Posted 21 May 2012 Link to this post

    Hi Kate, 

    thanks for the fast response, 
     is it posible to have an arrow image at the end  like attached image..
    do you have a reference on how to convert the org chart into pdf programmatically using pdfforge ?


    Thank you,
    Ricky
  5. Answer
    Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 23 May 2012 Link to this post

    Hello Ricky,

    Regarding your request for the image arrow at the end of the Node lines, I prepared a sample project for you. Keep in my that the solution is not supported under IE6,7.

    The export of the RadOrgChart control, with the pdfcreator tool, is possible only manually.

    All the best,
    Peter Filipov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Ricky
    Ricky avatar
    10 posts
    Member since:
    Apr 2012

    Posted 23 May 2012 Link to this post

    Thanks Peter for the solution,
     i have tried it and it works well :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017