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

RadOrgChart uncertainties

8 Answers 137 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Ong
Top achievements
Rank 1
Ong asked on 18 Feb 2013, 11:15 AM
I'm doing an org chart and am keen on using suite provided by telerik.
Prior to that, I have some uncertainties
1. Can telerik control (RadOrgChart) support a large scale (i.e. 130 employees) org chart? I believe the view at client end will be compromised (i.e. the need to scroll)? Are there other implementation (i.e. a zoom button which allows me to zoom in or out) which I can leverage on from telerik without using the [Change Zoom level] from our IE?
2. Can telerik control (RadOrgChart) read RDF?

8 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 20 Feb 2013, 08:16 AM
Hi Ong,

RadOrgChart could easily supports 130 employees and more. Regarding its appearance please review the following resources - zooming, group column count and node size.
For now RadOrgChart could not be exported to PDF. We recommend to use the following free tool to export your web page to a PDF.

Regards,
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
Ong
Top achievements
Rank 1
answered on 27 Feb 2013, 07:59 AM
Hi Peter Filipov,

Thank you for your reply.
I have another question to ask. I tried to implement a <telerik: Radslider> to do a zoom in/out to view my org chart. 

When I deployed the code, my internet explorer prompts that <object doesn't support this property or method>.  I'm using IE version 8.0. Is there any compatibility issue which I need to take note of?
0
Peter Filipov
Telerik team
answered on 28 Feb 2013, 08:49 AM
Hi Ong,

Please review the setZoom method from our demo and notice that we check if IE is used and different method is called. In case that you still experience some issues send us runnable sample project for a local investigation.

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
Efe kaya
Top achievements
Rank 1
answered on 22 Mar 2013, 02:37 PM
hi everbody..
i used radorgchart drap and drop. I want to add "Structure Zooming"  and i did. But i want to remove radWindow ! please help me ! 
I dont understand the bold part 

<script type="text/javascript">
            //<![CDATA[
            var scaleParamX;
            var scaleParamY;
            var $ = $telerik.$;

            function onClientValueChanged(sender, args) {
                var zoomValue = sender.get_value();

                zoom(zoomValue);
            }

            function zoomAfterDrillDown() {
                if (scaleParamX && scaleParamY)
                    setZoom();
            }

            function zoom(zoomValue) {
                scaleParamX = zoomValue;
                scaleParamY = zoomValue;

                setZoom();
            }

            function setZoom() {
                var org = $($(".RadWindow iframe").get(0).contentWindow.document).find(".RadOrgChart").get(0);

                if (window.$telerik.isFirefox)
                    org.style.MozTransform = "scale(" + scaleParamX + "," + scaleParamY + ")";
                else if (window.$telerik.isIE && !window.$telerik.isIE7)
                    org.style.zoom = scaleParamX;
                else if (window.$telerik.isIE7)
                    $(org).find(".rocRootNodeList").get(0).style.zoom = scaleParamX;
                else if (window.$telerik.isOpera || window.$telerik.isSafari)
                    org.style.WebkitTransform = "scale(" + scaleParamX + ")";
            }
            //]]>
        </script>
0
Ong
Top achievements
Rank 1
answered on 26 Mar 2013, 01:08 AM
Hi Peter Filipov,

Thank you for your reply.
The RadOrgChart is slow when showing the diagram. It returns more than 130 records each time.
Does Telerik has any way/method to speed up rendering?  
0
Peter Filipov
Telerik team
answered on 27 Mar 2013, 09:27 AM
Hello,

@Efe
With the following line of code we get a reference to the DOM element of the RadOrgChart. The RadWindow is rendered in iframe element, with the ".RadWindow iframe" selector we are getting a reference to it. In case that you want to create a sample without window you could use the following sample code:
function setZoom() {
    var org = $(document).find(".RadOrgChart").get(0);
 
    if (window.$telerik.isFirefox)
        org.style.MozTransform = "scale(" + scaleParamX + "," + scaleParamY + ")";
    else if (window.$telerik.isIE && !window.$telerik.isIE7)
        org.style.zoom = scaleParamX;
    else if (window.$telerik.isIE7)
        $(org).find(".rocRootNodeList").get(0).style.zoom = scaleParamX;
    else if (window.$telerik.isOpera || window.$telerik.isSafari)
        org.style.WebkitTransform = "scale(" + scaleParamX + ")";
}

@Ong
In order to reduce the rendering that comes from the server. You could use load on demand or web service binding.

Regards,
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
Efe kaya
Top achievements
Rank 1
answered on 27 Mar 2013, 10:33 AM
Thanks Peter,

i have a problem again :/ radorgchart and radslider are just working in google chrome.
How do I run other browsers? (especially internet explorer and firefox mozilla)
I'm having the same problem also used the other telerik controls,dont display :( 
0
Peter Filipov
Telerik team
answered on 01 Apr 2013, 07:43 AM
Hi Efe,

I am not quite sure what might be causing the described behavior. In order to resolve your issues faster. Could you please provide me a runnable sample project that reproduces your problems.

Regards,
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.
Tags
OrgChart
Asked by
Ong
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Ong
Top achievements
Rank 1
Efe kaya
Top achievements
Rank 1
Share this question
or