kendo-window

Kendo UI Window overlay opacity

有些话、适合烂在心里 提交于 2019-12-02 09:13:10
How can I set overlay opacity with CSS. I tried .k-overlay { opacity:0.9; } but it wont work. Can anyone help me? here I provide a simple demo .k-widget would be a too broad selection. You can set the opacity for that very window once the window will be shown: <script> function onOpen() { setTimeout(function(){ $("#dialog").parent().css("opacity", 0.2); }, 10); } $("#dialog").kendoWindow({ modal: true, open: onOpen }); </script> You could try .k-overlay { opacity:0.9 !important; } instead. That will override the setting which kendo applies directly to the overlay. 来源: https://stackoverflow.com

Kendo window.refresh not successfully grabbing partial view

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-02 03:31:11
all. Thank you in advance. I have a window which much refresh every time a dropdown selection is changed (or button is pressed). The controller is being called upon refresh, but the view is not being called/refreshed, for some reason. Am I missing something fundamental? Window: @(Html.Kendo().Window() .Name("EditWindow") .Title("Edit Contact") .LoadContentFrom("_ContactEdit", "Contacts", new { selectedContact = Model.ContactId }) .Content("Loading...") .Visible(false) .Draggable() .Resizable() .Width(400) .Modal(true) .Actions(actions => actions.Pin().Minimize().Maximize().Close()) ) Refresh