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

change dotted line

4 Answers 140 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 1
Ricky asked on 11 May 2012, 10:30 AM
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

4 Answers, 1 is accepted

Sort by
0
Accepted
Kate
Telerik team
answered on 11 May 2012, 11:04 AM
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.
0
Ricky
Top achievements
Rank 1
answered on 21 May 2012, 10:49 AM
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
0
Accepted
Peter Filipov
Telerik team
answered on 23 May 2012, 03:12 PM
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.
0
Ricky
Top achievements
Rank 1
answered on 24 May 2012, 04:37 AM
Thanks Peter for the solution,
 i have tried it and it works well :)
Tags
OrgChart
Asked by
Ricky
Top achievements
Rank 1
Answers by
Kate
Telerik team
Ricky
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or