Unplanned
Last Updated: 23 May 2023 17:14 by ADMIN
Scott
Created on: 12 Apr 2023 12:42
Category: UI for ASP.NET MVC
Type: Feature Request
0
MVC OrgChart to support the same functionality as AJAX RadOrgChart

This is the same as an existing feature request, which was marked as completed but it doesn't achieve what was originally requested.

Orgchart like the one in Telerik ASP.NET Ajax

The UI for ASP.NET MVC OrgChart component is missing functionality found in the UI for ASP.NET AJAX product.

The demos only show a small organisation dataset. With a large dataset (including up to 5 levels), I found the current MVC solution becomes unusable. For example, the vertical/horizontal scroll bar becomes tiny and navigation becomes difficult.

The extra functionality available in the AJAX works around issues, such as, zooming in/out and solves other basic requirements, such as Export to PDF.

Please make the AJAX Functionality and Application Scenarios available in the MVC product.

Attached Files:
6 comments
Scott
Posted on: 23 May 2023 12:40

Hi Ivan,

I agree with you, please leave it open and update it's status to unplanned.

Many thanks,
Scott

ADMIN
Ivan Danchev
Posted on: 23 May 2023 12:35

Hi Scott,

The thing is, the UI for ASP.NET AJAX components cannot be used in an ASP.NET MVC application and vice versa the MVC components cannot be used in a WebForms app. So if you are OK with this feature request remaining specifically for the DrillDown and ColumnCount options for the MVC OrgChart, I will leave it open and update its status to "Unplanned". Otherwise, if you want it closed, I can do that as well, but in my opinion these features would be nice to have in the MVC OrgChart.

Regards,
Ivan Danchev
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.

Scott
Posted on: 17 May 2023 12:45

Hi Ivan, I agree with you that these would be good additions, but given that the Ajax version can be used if needed, please feel free to close this feature request.

Many thanks,

Scott

ADMIN
Ivan Danchev
Posted on: 25 Apr 2023 13:29

Hello Scott,

The DrillDown and the ColumnCount (as well as GroupColumnCount) features are valid and would be good additions to the MVC OrgChart. 

As for the RenderMode (Classic/Lightweight) it is available in the UI for AJAX suite for legacy reasons. It is not applicable to the Kendo UI/UI for MVC suites.

Regards,
Ivan Danchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Scott
Posted on: 19 Apr 2023 11:43

Hello Ivan,

Thanks, the Drawing API looks to perfect for exporting to PDF and I agree it's separate functionality.

Thanks, we can try a similar script solution. I had seen the event handler in site.js for the zooming. The 'Stucture Zooming > About this demo' states Lightweight rending mode is required for zooming, not sure why this is. 

Apart from the above alternatives you kindly provided, the main features is where an AJAX property is not available in the MVC version:

- Column Count - GroupColumnCount and ColumnCount properties
- Drill Down - EnableDrillDown property
- Render Modes - RenderMode property - Classic/Lightweight

I had intended this feature only if it's straight forward to port across the properties/functionality. If it was urgent then we could always just use the AJAX version.

Many thanks,
Scott

ADMIN
Ivan Danchev
Posted on: 19 Apr 2023 08:55

Hello Scott,

Thank you for logging this feature request.

The mentioned "Export to PDF" and "zoom in/out" features are not features of the AJAX OrgChart itself.

1. The export to PDF is achieved with the RadClientExportManager. An alternative to it is the Kendo Drawing API, which can be used to export a Kendo UI OrgChart or an MVC OrgChart. 

2. The zoom in/out functionality is achieved with custom JavaScript logic:

$(document).ready(function() {
 
 
    $('form').on('DOMMouseScroll mousewheel', '.foo', function(event) {
        if (event.originalEvent.wheelDelta > 0 || event.originalEvent.detail < 0) {
            fontSize++;
            $('.RadOrgChart').css('font-size', fontSize + 'px');
            $('.rocToolbar').css('font-size', fontSize + 'px');
        } else {
            fontSize--;
            $('.RadOrgChart').css('font-size', fontSize + 'px');
            $('.rocToolbar').css('font-size', fontSize + 'px');
        }
 
        event.preventDefault();
    });
});

See the script.js in the AJAX OrgChart Structure Zooming demo: https://demos.telerik.com/aspnet-ajax/orgchart/examples/applicationscenarios/structurezooming/defaultcs.aspx

Could you please list specific features of the AJAX OrgChart that you would like to see implemented in the MVC OrgChart component?

Regards,
Ivan Danchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.