Search code examples
internet-explorerkendo-uirenderinggantt-chart

Kendo UI Gantt - Jquery - Error showing URL too long


I am having issue with Kendo UI for Jquery - Gantt in two cases: Gantt when saved with 15-20 tasks an error is thrown as URL too long.

When I try to save Gantt data with items more than 15 or so, it throws request header URL too long. As the Kendo UI Gantt is using GET method and the total data (JSON data) is posted thru header and is throwing request header URL too long.

Do we have an option of submitting data from Gantt using POST method instead GET method. If yes, please provide a sample code that can be tested using Kendo UI Jquery - Gantt. If no, let us know how the issue can be resolved.

Thanks in advance.


Solution

  • Identified the cause of the issue, when i was trying to fix some other issue.

    I identified that the Ajax way of posting data was not explored earlier and we were not able to utilize the POST method.

    As Gantt by default uses GET method and the data is always passed thru the URL in GET method and hence was failing when the data exceeds the URL transport limit.

    By changing the method to POST using ajax approach, the issue got resolved.

    Thank you all for the support given to try resolving the issue.