RadOrgChart appears too long on screen!

11 posts, 0 answers
  1. selay
    selay avatar
    1 posts
    Member since:
    Jun 2011

    Posted 19 Dec 2011 Link to this post

    Hi, I create a RadOrgChart page.  But it's not fit into the screen. I  would like to make it smaller.  My Telerik version is 2011.3.1115.40. 
    I attached my screen's screen shot.

    Here is my Code;
    <%@ Page Title="" Language="C#" MasterPageFile="~/Controls/MasterPages/User.master" Theme="Default" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Sections_OrgChart_Default" %>
      
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      
      
    <telerik:RadOrgChart runat="server" ID="RadOrgChart1" ></telerik:RadOrgChart>
      
    </asp:Content>
    And my Cs codes, 
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using Getron.AAM;
    using Getron.AAM.EntityManagement;
    using Getron.Core.Base.Objects;
    using System.Data;
      
    public partial class Sections_OrgChart_Default : EntityProtectedPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            OrgSchema osch = new OrgSchema();
            QueryEntity qent = new QueryEntity();
            qent.QueryEntityType = Getron.Core.Enums.EQueryEntityType.WhereCondition;
            qent.Query = "SupervisorId=@SupervisorId";
            Getron.DBInterface.Parameter p0 = new Getron.DBInterface.Parameter("@SupervisorId", ParameterDirection.Input, DbType.Int64, 0);
            p0.Value = 23;
            qent.Parameters.Add(p0);
      
            DataTable dt = new DataTable();
            dt = osch.GetCustomViewAll("OrgSchemaAllData", new List<string>() { "SystemUserIntCode", "SystemUserName", "SuperVisorId" }, qent);
      
            RadOrgChart1.DataTextField = "SystemUserName";
            RadOrgChart1.DataFieldID = "SystemUserIntCode";
            RadOrgChart1.DataFieldParentID = "SupervisorId";
      
            RadOrgChart1.DataSource = dt;
            RadOrgChart1.DataBind();
        }
    }

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 19 Dec 2011 Link to this post

    Hi Selay,

    Thank you for your feedback.

    We are aware that there are cases where the organizational data displayed with RadOrgChart will not fit very well on the screen. Although currently there isn't a way to change that we will be developing a powerful drill-down functionality in the next versions of RadOrgChart that will resolve cases as yours.

    Greetings,
    Simon
    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. Luis
    Luis avatar
    1 posts
    Member since:
    Jan 2012

    Posted 10 Feb 2012 Link to this post

    I have the same problem and i already installed the last version of Telerik Control. How can i solve this?
  5. Richard Weeks
    Richard Weeks avatar
    95 posts
    Member since:
    Oct 2009

    Posted 13 Feb 2012 Link to this post

    I second the drill-down, I have an org chart that is absolutely massive (thousands of employees).

    I'm using the EntityDataSource and my scrollbars are this > < size :)

    Also, is it possible to have a chart bound this way display left-to-right instead of top-to-bottom? This is my code at present:

    <telerik:RadOrgChart
        DataFieldID="PositionNumber"
        DataFieldParentID="ReportsTo"
        DataSourceID="MyEmployeesDataSource"
        DataTextField="Surname"
        GroupColumnCount="3"
        ID="MyOrgChart"
        runat="server">
        <RenderedFields>
            <ItemFields>
                <telerik:OrgChartRenderedField DataField="Position" Label="Position" />
            </ItemFields>
        </RenderedFields>
    </telerik:RadOrgChart>
     
    <asp:EntityDataSource
        ConnectionString="name=MyEntities"
        DefaultContainerName="MyEntities"
        EnableFlattening="False"
        EntitySetName="MyEmployees"
        ID="MyEmployeesDataSource"
        runat="server">
    </asp:EntityDataSource>

    Richard
  6. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 15 Feb 2012 Link to this post

    Hi,

    The RadOrgChart control supports only one type of rendering - top to bottom. We are going to consider your suggestion about left to right rendering. The drill down functionality will be available in Q2/Q3.2012. Now, only in the group-enabled binding scenario it is possible to set column count (review the demo).

    Kind regards,
    Peter Filipov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  7. CH
    CH avatar
    48 posts
    Member since:
    Aug 2010

    Posted 31 May 2012 Link to this post

    Hi,
    After looking at your demo(beta) for the org-chart, i realise that the new drill-down(beta) still doesnt support our needs of many staffs that generate horizontally. it will still cause the screen to be wider.

    Attached is my screen shot, do you have any recommendation??

    Regards,
    CH
  8. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 05 Jun 2012 Link to this post

    Hello CH,

    My recommendation is to make the Nodes smaller. It will decrease the total width. Please review the following demo.

    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. Podpora
    Podpora avatar
    2 posts
    Member since:
    Aug 2012

    Posted 13 Nov 2012 Link to this post

    It's already done? I also have a problem with the display and change the number of levels does not help. Left to right variant can help.
  10. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 16 Nov 2012 Link to this post

    Hi Podpora,

    You could review the DrillDown functionality here. Regarding to the left to right rendering, for now, we are not going to implement it.

    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.
  11. Podpora
    Podpora avatar
    2 posts
    Member since:
    Aug 2012

    Posted 05 Dec 2012 Link to this post

    Hi Peter,

    but DrillDown functionality can't help me. In our company we have more than 5000 people. Someone has directly more than 500 people. I just want to ask you if you thinking about implementation and when?
  12. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 10 Dec 2012 Link to this post

    Hi Podpora,

    We already logged the idea of right to left (horizontal) rendering. I am afraid I could not give you an exact time frame when the feature will be available. Before that we need to make a rendering engine at the server and it will take time. Could you please review the following demo it might help you.

    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