- Home
- Forum
- ASP.NET Web Forms
- Unable to reload or refresh the ej kanban control using jquery ajax.
Unable to reload or refresh the ej kanban control using jquery ajax.
Dear Sir/Madam,
Attachment: KanbanExample_84b08370.zip
We are in trouble to bind data to ej kanban control using jquery ajax.
Initially we are bindind data through code behind.
Next, Adding new task using our own control and logic.
After adding task want to reload or refresh the kanban board in client side., but we are unable.
Please find attached file.
Thank You.
Attachment: KanbanExample_84b08370.zip
SIGN IN To post a reply.
3 Replies
RK
Rajesh Kumar Anburajan
Syncfusion Team
April 28, 2017 05:07 PM UTC
Hi Ramesh Sadam,
We are working on this with high priority and we will update you by Monday(28/4/17)
Please provide more information about your reported issue or provide an issue reproducing sample with UI page(Aspx).
Regards,
Rajesh Kumar.A
BS
Buvana Sathasivam
Syncfusion Team
May 2, 2017 05:31 PM UTC
Hi Ramesh,
Thanks for your update.
As per your code, we have created Kanban sample with AJAX post. You click add task button then load data into Kanban data source using ajax post. Please refer to the following code.
|
KanbanFeatures.aspx
<input type="button" value="Add Task" class="btn btn-primary" onclick="onclk(this)" /> //onclk function was called when click the button
function OnSuccess(response) {
$("#kanTask").ejKanban("dataSource", response.d.d); // Send data to datasource
}
function onclk(args) {
ViewTask(); // Called view task function when click the button
}
|
|
KanbanFeature.aspx.cs
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public static object GetCustomers()
{
NORTHWNDEntities1 db = new NORTHWNDEntities1();
IEnumerable Data = db.Tasks.ToList(); // Get all data in the database
int count = Data.AsQueryable().Count(); // Get data count
Syncfusion.JavaScript.DataSources.DataOperations operation = new Syncfusion.JavaScript.DataSources.DataOperations();
return new { d = Data }; // return data
} |
Sample: http://www.syncfusion.com/downloads/support/forum/130178/ze/SyncfusionASPNETApplication21-470394496
Please let us know if you need any further assistance.
Regards,
Buvana S.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
RS Ramesh Sadam
- Apr 26, 2017 01:49 PM UTC
- May 2, 2017 05:31 PM UTC