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 template

Thread ID:





130664 May 24,2017 11:40 AM UTC May 29,2017 06:23 AM UTC ASP.NET MVC 3
Tags: Kanban
Eugene Pribytkov
Asked On May 24, 2017 11:40 AM UTC

Could i make different dialog windows for editing and adding cards?

Buvana Sathasivam [Syncfusion]
Replied On May 25, 2017 05:08 PM UTC

Hi Eugene Pribytkov, 

Thanks for using Syncfusion Products. 

We don’t have support to use different dialog for editing and add dialog. But we can dynamically hide the elements by setting custom classed to the dialog contents.  

If editing dialog form shows Id, Status, Assignee and Summary fields: 


If adding dialog form shows Id, Status, Estimate, Assignee, Tags, Priority and Summary fields: 


This different content in dialog can be achieved by adding a class to the  any element of the template and apply the “display” property on actionComplete event.   Please refer to the following code. 

<div id="template" style="display: none"> 
     <table cellspacing="10" style="border-spacing: 11px;"> 
       <tr class="tableRow">       // Add class name on row 
           Or Else 
            <td class="tableCell" style="text-align: right;">   // Add class name on cell 

    .ClientSideEvents(eve => {eve.ActionComplete("complete");})  
     function complete(args) {    
            if (args.requestType == "beginedit") { // edit the card 
                $(".tableRow").removeClass("e-row").addClass("e-none"); // add class and remove class 
            else if (args.requestType == "add") { // Add new card 
           display: table-cell;  
          display: table-row; 
          display: none;  

Please let us know if you have any further assistance. 

Buvana S. 

Eugene Pribytkov
Replied On May 28, 2017 11:33 AM UTC

Thank you for your answer!)

Buvana Sathasivam [Syncfusion]
Replied On May 29, 2017 06:23 AM UTC

Hi Eugene,   
Thanks for your update.  Please let us know if you need any queries, we would be happy to assist you.   
Buvana S. 


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