Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views

Hi,

Is it possible to add nodes on client and server manually outside of databinding? I mean like .nodes.add(new orgchartnode("abc"))

Ivan Danchev
Telerik team
 answered on 06 Nov 2015
1 answer
88 views

Hi,

Is there a way to keep an org chart populated after an ajax postback? if there is any ajax action on my page I lose the org chart and need to populate every time outside of !IsPostBack.

Ivan Danchev
Telerik team
 answered on 06 Nov 2015
9 answers
305 views
Hi, I am looking for a solution to the following problem:

The ability to connect to a database using ASP.Net and C# and retrieve the hierarchical attribute of an entity in order to plot and draw its position within an org chart on a web page.

Special Requirements

  • Must allow for multiple parents
  • Must have the ability to skip rows directly beneath in order to reach entities in a subsequent row.

I have attached a file with an example chart that would need to be created dynamically by extracting the entities from a database according to their hierarchical code, plotting their positions on a web page, and drawing the relationships between them.
NB: Entities are labelled according to the row and column that they below two i.e. the first row with 5 entities would have the labels R1C1 to R1C5; the next row with 2 entities would have the codes R2C1 and R2C2

Kindest Regards,

Brendan
Peter Filipov
Telerik team
 answered on 06 Nov 2015
3 answers
357 views

Hi,

I have 3 questions actually. Dont know the idea of posting it in the same thread is good or not. Please suggest. Below are my questions :

1. ​How to change the background color of ​groups (not the ​group items) based upon groups type user is selecting. Please see screen shot (ColoredGroups.png).

2. I want to define the height or vertical distance of node / groups from the parent nodes or show it ​horiz​ontally but little below ​from parent node . Because of an obvious fact that the secretary of the CEO cannot be shown at the same level ​with other heads reporting to CEO in a real time Organization Chart. Please see LineHeight.png

3. PDF Export, I want to export the chart with titles and legends for groups and group items (customize PDF before exporting). Cannot export the html page using RadExport content because I am showing the RadOrgChart in RadSplitter center pane (fixed pane), left pane (sliding pane) has chart values (Titles and all) and right pane (also sliding pane) shows the tree of elements showing in the chart. I need to export only center page and its has only OrgChart nothing else. The left and right panes are sliding to proivde more space for the OrgChart to view (center pane).

I appreciate your kind help.

 

Thanks,

Jawwad

Dimitar
Telerik team
 answered on 28 Oct 2015
9 answers
252 views
Hi,

The documentation and demos don't seem to show much in the way of client-side functionality is this true or can you supply more information?

Essentially I'm looking for a control that can support a multi-level hierarchy where nodes can be dragged on or off the chart. Therefore lets say you have a list of people down one side and you wish to organise them by dragging and dropping them onto the OrgChart. From the looks of it I can't see any client-side functionality for creating/removing nodes. Do you think the functionality I ask is possible to implement (or extend) with this control?

Thanks,
Shane
Vinh
Top achievements
Rank 1
 answered on 15 Oct 2015
5 answers
345 views
Hi,
I have a scenrio in which one child node can have mutiple parent nodes. Does OrgChart support multple parents? If no, can we expect this in future releases?
Nencho
Telerik team
 answered on 13 Oct 2015
1 answer
170 views

Hi

 Is there a way to set the size of the exported PDF boxes in the org chart?

 I have quite a large org chart to export and it would be really useful if I could increase the size of certain boxes (for example, where a manager has many subordinates, I'd like the make the manager's box larger).

Is this possible?

 

Ivan Danchev
Telerik team
 answered on 09 Oct 2015
1 answer
104 views

Hi,

I have an orgchart setup like this:

 

<telerik:RadOrgChart ID="RadOrgChart1"runat="server"OnNodeDataBound="RadOrgChart1_NodeDataBound"
           Skin="Metro">
           <ItemTemplate>
               <divstyle="height: 50%">
                   <span>Name:
                       <%#DataBinder.Eval(Container.DataItem, "Name")%></span>
                   <br/>
                   <span>
                       <%#DataBinder.Eval(Container.DataItem, "role")%></span>
                   <telerik:RadGrid ID="RadGrid1" runat="server"OnNeedDataSource="RadGrid1_NeedDataSource">
                   </telerik:RadGrid></div>
           </ItemTemplate>
       </telerik:RadOrgChart>



I’d like to have a radgrid embeded into each node, however to do this I need to grab the ID of the node from the RadGrid1_NeedDataSource event.
Can someone please advise how I can do this please?
Also is there any way to increase the item template height?

 
Nencho
Telerik team
 answered on 02 Sep 2015
5 answers
116 views
I am having an issue in just IE that when Org Chart nodes are expanded they overlap. It is fine in other browsers. Anyone else had this problem? How do I fix it?
Aneliya Petkova
Telerik team
 answered on 27 Jul 2015
1 answer
172 views

Hi,

I've tried to get the OrgChart working and have had quite a few issues.  I've had to build my own container to cope with scrolling as by default it doesn't allow for a container or zoom mechanisms.  I'm now trying to do one more simple thing of having a client click event so that I can link to a record on the chart.  I could never have imagined on having to ask for such a basic bit of functionality.

There is no click event and you have to do a work around. But the code that I have seen doesn't work as the Id that comes back is set to an empty string, the adapted code is below my rant.

Every time I work with something new I seem to be spending more time on getting it working than I should, everything needs a work around or another.  The point of a control suite like this one is so that people don't need to do work arounds.  Even more frustrating is the need to vote for good functions when they are suggested, just add them in!

So, please, someone from Telerik tell me how to do an onclick properly and then tell me that a proper onclick handler will be introduced in the next version.  I suppose that this is the price to pay for the fact that all new controls are simply KendoUI controls re-engineered for ASP.NET?

Regards

Jon

$telerik.$(".rocItem").click(function (e) {
    var orgChart = $find("<%= uxRadOrgChart.ClientID%>");
    var index = orgChart._extractGroupItemFromDomElement(e.target).getId();
})

 

 

Ivan Danchev
Telerik team
 answered on 14 Jul 2015
Narrow your results
Selected tags
Tags
+123 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?