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

Workflows not working

Thread ID:





132772 Sep 20,2017 07:46 AM UTC Sep 21,2017 09:55 AM UTC ASP.NET MVC 1
Tags: Kanban
Musab Adnan Basheer
Asked On September 20, 2017 07:46 AM UTC

This is my view 
                                   .DataSource(ds => ds.URL(Url.Action("GetData")).Adaptor(AdaptorType.UrlAdaptor))
                                   .ClientSideEvents(eve =>
                                   .Workflows(workflow =>
                                   .Columns(col =>
                                       col.HeaderText("Join Request").Key("RequestToJoin").AllowDrop(false).Add();
                                       col.HeaderText("Join Accepted").Key("RequestJoinAccepted").Add();
                                       col.HeaderText("Join Verify Content").Key("RequestToVerifyContent").Add();
                                       col.HeaderText("Trial Started").Key("TrialStarted").Add();
                                       col.HeaderText("Trial End").Key("TrialEnd").Add();
                                  .Fields(field =>


//This is my Action 
 public async Task<JsonResult> GetData(Syncfusion.JavaScript.DataManager value)
            DataResult result = new DataResult();
            DataOperations operation = new DataOperations();
            var subscriptions = db.Subscriptions.IncludeMultiple(a => a.Organization);

            if (subscriptions == null)
                return Json(result, JsonRequestBehavior.AllowGet);
            var list = await subscriptions
                .OrderByDescending(order => order.CreatedDate)

            var model = new List<KanbanSubscriptionViewModel>();

            foreach (var order in list)

            result.result = model;
            result.count = model.Count();
            return Json(result, JsonRequestBehavior.AllowGet);

Arun Palaniyandi [Syncfusion]
Replied On September 21, 2017 09:55 AM UTC

Hi Musab Adnan Basheer, 

Thanks for contacting Syncfusion support. 

We have validated the shared sample and we can able to reproduce you reported scenario. Hence in order to work with the URL or remote Adptors, at the time of drag and drop the cards we have to add CrudURL for updating the changes in database. So we suggest you to write a function in the controller to do the basic CRUD operations for our Kanban and refer it to CrudURL.  


               .DataSource(ds => ds.URL("GetData").CrudURL("Crud").Adaptor(AdaptorType.UrlAdaptor)) 
                   .Columns(col => 


//Edit multiple cards for priority drag and drop 
        public ActionResult Crud(List<Task> changed, List<Task> added, List<Task> deleted) 
            //Performing insert operation 
            if (added != null && added.Count() > 0) 
                foreach (var temp in added) 
            ////Performing update operation 
            if (changed != null && changed.Count() > 0) 
                foreach (var temp in changed) 
                    Task old = db.Tasks.Where(o => o.Id == temp.Id).SingleOrDefault(); 
                    if (old != null) 
            //Performing delete operation 
            if (deleted != null && deleted.Count() > 0) 
                foreach (var temp in deleted) 
                    db.Tasks.Remove(db.Tasks.Where(o => o.Id == temp.Id).SingleOrDefault()); 
            var data = db.Tasks.ToList(); 
            return Json(data, JsonRequestBehavior.AllowGet); 

We have also prepared a simple sample for your reference below. 

Further references, check on this: 

If the provided details does not meet your requirement, please give us with more information that will help us to provide an alternative solution.    
Arun P.   


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

This page will automatically be redirected to the 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