RadOrgChart uncertainties

9 posts, 0 answers
  1. Ong
    Ong avatar
    4 posts
    Member since:
    Feb 2013

    Posted 18 Feb 2013 Link to this post

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

    Posted 20 Feb 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ong
    Ong avatar
    4 posts
    Member since:
    Feb 2013

    Posted 27 Feb 2013 Link to this post

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

    Posted 28 Feb 2013 Link to this post

    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.
  6. Efe kaya
    Efe kaya avatar
    3 posts
    Member since:
    Mar 2013

    Posted 22 Mar 2013 Link to this post

    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>
  7. Ong
    Ong avatar
    4 posts
    Member since:
    Feb 2013

    Posted 25 Mar 2013 Link to this post

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

    Posted 27 Mar 2013 Link to this post

    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.
  9. Efe kaya
    Efe kaya avatar
    3 posts
    Member since:
    Mar 2013

    Posted 27 Mar 2013 Link to this post

    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 :( 
  10. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 01 Apr 2013 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017