I have implemented Kendo Editor(MVC) in my application.Its working fine
on the local.But as When I upload my application on Cloude (Windows
Azure) I am not able to see tools ICON images.Please check with attached
Image.
I also Verified with Sprite.png but its exists on Cloude ,Still issue occurs.Here is below my code.
Layout.cshtml :
@Styles.Render("~/bundles/KendoCss")
@Scripts.Render("~/bundles/KendoJs")
Bundle.config :
bundles.Add(new StyleBundle("~/bundles/KendoCss").Include(
"~/Styles/Kendo/kendo.common.min.css",
"~/Styles/Kendo/kendo.bootstrap.min.css",
"~/Styles/Kendo/kendo.dataviz.min.css",
"~/Styles/Kendo/kendo.dataviz.default.min.css"
));
bundles.Add(new ScriptBundle("~/bundles/KendoJs").Include(
"~/Scripts/Kendo/kendo.all.min.js",
"~/Scripts/Kendo/kendo.web.min.js"
Editor.cshtml :
@(Html.Kendo().EditorFor(m => m.Header)
.HtmlAttributes(new { style = "width: 100%;height:Auto;" })
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline().Strikethrough()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
.InsertUnorderedList().InsertOrderedList()
.Outdent().Indent()
.CreateLink().Unlink()
.InsertImage()
.InsertFile()
.SubScript()
.SuperScript()
.TableEditing()
.ViewHtml()
.Formatting()
.FontName()
.FontSize()
.FontColor().BackColor()
)
.Encode(false)
)
Also Please checked with attached folder structure and Output image.
on the local.But as When I upload my application on Cloude (Windows
Azure) I am not able to see tools ICON images.Please check with attached
Image.
I also Verified with Sprite.png but its exists on Cloude ,Still issue occurs.Here is below my code.
Layout.cshtml :
@Styles.Render("~/bundles/KendoCss")
@Scripts.Render("~/bundles/KendoJs")
Bundle.config :
bundles.Add(new StyleBundle("~/bundles/KendoCss").Include(
"~/Styles/Kendo/kendo.common.min.css",
"~/Styles/Kendo/kendo.bootstrap.min.css",
"~/Styles/Kendo/kendo.dataviz.min.css",
"~/Styles/Kendo/kendo.dataviz.default.min.css"
));
bundles.Add(new ScriptBundle("~/bundles/KendoJs").Include(
"~/Scripts/Kendo/kendo.all.min.js",
"~/Scripts/Kendo/kendo.web.min.js"
Editor.cshtml :
@(Html.Kendo().EditorFor(m => m.Header)
.HtmlAttributes(new { style = "width: 100%;height:Auto;" })
.Tools(tools => tools
.Clear()
.Bold().Italic().Underline().Strikethrough()
.JustifyLeft().JustifyCenter().JustifyRight().JustifyFull()
.InsertUnorderedList().InsertOrderedList()
.Outdent().Indent()
.CreateLink().Unlink()
.InsertImage()
.InsertFile()
.SubScript()
.SuperScript()
.TableEditing()
.ViewHtml()
.Formatting()
.FontName()
.FontSize()
.FontColor().BackColor()
)
.Encode(false)
)
Also Please checked with attached folder structure and Output image.