This is a migrated thread and some comments may be shown as answers.

CustomTemplate not displaying in toolbar for internal build kendoui.aspnetmvc.hotfix.2013.2.813.commercial

1 Answer 43 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Greg Lynne
Top achievements
Rank 1
Greg Lynne asked on 13 Aug 2013, 09:33 PM
I have just had to upgrade to kendoui.aspnetmvc.hotfix.2013.2.813.commercial to fix some other issues with this control. However it now appears that the CustomTemplate is not displaying in the toolbar. I did note that in this package the dll is still version 2013.2.729.340, however it did fix my bug from the original 2013.2.729 major build.

Are you able to have a look at this and tell me if there is a quick fix 

@(Html.Kendo().Editor()
      .Name("sectionBlockEditor")
      .HtmlAttributes(new { style = "width: 900px;height:530px" })           
      .Tools(tools => tools
                          .Clear()                         
                          .Formatting()
         
                          .CustomTemplate(ct => ct.Template("<label for='templateTool' style='vertical-align:middle;'>Background:</label> <select id='templateTool'><option value=''>none</option><option value='\\#ff9'>yellow</option><option value='\\#dfd'>green</option></select>"))
         
         
      )     
)
That didnt work although it should.

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 Aug 2013, 08:55 AM
Hello Andrew,

Thank you for reporting this, it has been fixed for the next internal build that will be published later today. The regression was caused because of some changes on how the editor groups are rendered.

Your Telerik points have been updated for the bug report.

Regards,
Alex Gyoshev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Editor
Asked by
Greg Lynne
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or