Hi,
Below is the beginning of the kendo grid and its template.
The template have a SAVE and a CANCEL button and I have problem with the CANCEL button.
When the user makes some changes and hit the cancel button, the template content should go back and show its previous data.
I don't want to refresh all the controls in the template in code, just to remove current instance of the template from the kendo-list of created templates.
I am able to programmatically collapse and expand any row in the grid, but I don't know how to instruct kendo to forget a template.
Think this: I collapse the row, remove its created template and expand the row again and a fresh template with data from its parent (the row).
How can i do that ?
Thanks.
                                Below is the beginning of the kendo grid and its template.
@(Html.Kendo().Grid<CompanyDomainView>()    .Name("customer-grid")    .ClientDetailTemplateId("customerTemplate")    ........<script id="customerTemplate" class="gridtemplates" type="text/x-kendo-tmpl">    <section>        <div class="k-widget inline-grid-box">.....The template have a SAVE and a CANCEL button and I have problem with the CANCEL button.
When the user makes some changes and hit the cancel button, the template content should go back and show its previous data.
I don't want to refresh all the controls in the template in code, just to remove current instance of the template from the kendo-list of created templates.
I am able to programmatically collapse and expand any row in the grid, but I don't know how to instruct kendo to forget a template.
Think this: I collapse the row, remove its created template and expand the row again and a fresh template with data from its parent (the row).
How can i do that ?
Thanks.