We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dialog Issue

Thread ID:

Created:

Updated:

Platform:

Replies:

140616 Oct 29,2018 10:30 AM UTC Oct 30,2018 12:45 PM UTC ASP.NET Web Forms 1
loading
Tags: Gantt
João Gama
Asked On October 29, 2018 01:35 PM UTC

Hello,

I have implemented the gantt controller in my application. 
Everything works fine in the beginnig, but after some time, is giving me this error when i try to save a task data only from the dialog.
The editing on the gant (move taks, increase,decrease times, indent, outdent) is working fine.
Just on the dialog editing or adding is giving me error after i force an update of the gantt controller.

The only solution that i found is to destroy the controller and re-create it.

Can you help me ??

After first Bind, on saving from edit dialog, data field have content:

After second Bind (refresh), on saving from edit dialog, data field is null:


Jesus Arockia Sankaran S [Syncfusion]
Replied On October 30, 2018 12:45 PM UTC

Hi Joao Gama, 
Thanks for using Syncfusion product.  
We have analyzed the reported problem, and we are not able to replicate the issue in our end. We have subscribed to set of events while adding/editing data, and in all these events we could get the added/edited data. We suspect that you are manipulating the data in client-side which is  the cause since we could get the saved data while editing and sent it to the server.   
Code Snippet
[aspx]  
<ej:Gantt ID="Gantt" 
//… 
  ActionComplete="actionComplete"> 
<script type="text/javascript"> 
            function actionComplete(args) { 
                 if (args.requestType == "save") { 
                    var data = args.modifiedRecord; 
                    PageMethods.getData(data); 
                } 
            } 
   </script> 

[aspx.cs]  
public partial class GanttSample : System.Web.UI.Page 
    { 
[WebMethod] 
        public static void getData(BusinessObject record) 
        { 
            var tasks = record; 
        } 
//… 
} 

Please get back to us if you need any further assistance.  
Regards,  
Jesus Arockia Sankaran S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;