I am using a Kendo Window for my application, and I want to remove the default Close button from the header. I am using the Clear() method, which by definition should clear out all actions. But when I run my application, the close button is still present on the window.
Here is the Razor code that builds the wondow. Notice the Actions section. Any help would be greatly appreciated!
Here is the Razor code that builds the wondow. Notice the Actions section. Any help would be greatly appreciated!
@(Html.Kendo().Window()
.Name("LoadingWindow")
.Visible(false)
.Title("Loading...")
.Modal(true)
.Height(150)
.Width(300)
.Actions(a => a.Clear())
.Content(@<
text
>
<
div
id
=
"loading-details"
>Loading Data. Please wait.
<
div
id
=
"divLoaderGif"
>
<
img
src
=
"@Url.Content("
~/Content/themes/ajax-loader.gif")"
alt
=
"Loading... Please wait..."
/>
</
div
>
</
div
>
</
text
>)
)