Hi,
We're starting to play with the MVC beta and liking what we're seeing so far. But I think I may have found a bug with the window control. If you default the visible state to false the window as well as the content get styled to display:none. It seems like the display: none never gets removed from the content section when the window is activated. All I see in the UI is the title bar of the window. I ran into this in my application and was able to reproduce it on one of the demo pages. In the actions.cshtml page I added .Visible(false) like so:
 
 
 
 
 
 
 
 
 
 
Let me know if there's something I'm doing wrong or if this indeed is an issue with the kendo code. Thanks!
Regards,
Brian Roth
                                We're starting to play with the MVC beta and liking what we're seeing so far. But I think I may have found a bug with the window control. If you default the visible state to false the window as well as the content get styled to display:none. It seems like the display: none never gets removed from the content section when the window is activated. All I see in the UI is the title bar of the window. I ran into this in my application and was able to reproduce it on one of the demo pages. In the actions.cshtml page I added .Visible(false) like so:
@(Html.Kendo().Window()    .Name("window")    .Title("About Josef Hoffmann")    .Actions(actions => actions        .Custom("custom")        .Minimize()        .Maximize()        .Close()    )    .Content(@<text>        <div class="armchair">            <img src="@Url.Content("~/Content/web/window/kubus-armchair.png")"                    alt="Josef Hoffmann - Kubus Armchair" />            Josef Hoffmann - Kubus Armchair        </div>        <p>            Josef Hoffmann studied architecture at the Academy of Fine Arts in Vienna,            Austria, under Art Nouveau architect Otto Wagner, whose theories of functional,            modern architecture profoundly influenced his works, and in 1896 he joined his office.        </p>        <p>            In 1898, he established his own practice in Vienna. In 1897, inspired by Mackintosh            and the Glasgow School, he was one of the founding members with Gustav Klimt, of an            association of revolutionary artists and architects, the Vienna Secession.        </p>        <p>            In 1903, he founded with architects Koloman Moser and Joseph Maria Olbrich, the Wiener            Werkstätte for decorative arts.        </p>        <p>            They aspired to the renaissance of the arts and crafts and to bring more abstract and            purer forms to the designs of buildings and furniture, glass and metalwork, following            the concept of total work of art. Hoffman's works combined functionality and simplicity            of craft production with refined and innovative ornamental details and geometric            elements. He is an important precursor of the Modern Movement and Art Deco.        </p>        <p>            Source:            <a href="http://www.senses-artnouveau.com/biography.php?artist=hof" title="About Josef Hoffmann">http://www.senses-artnouveau.com/<;/a>        </p>    </text>)    .Draggable()    .Resizable()    .Visible(false)    .Width(500))<span id="undo" class="k-button">Click to open the window</span><script>    $(document).ready(function() {        var dialog = $("#window");        $("#undo").bind("click", function() {            dialog.data("kendoWindow").open();        });        dialog.data("kendoWindow").wrapper.find(".k-custom").click(function(e){            alert("Custom action button clicked");            e.preventDefault();        });    });</script><style scoped>    #example {        min-height:500px;    }             .armchair {        float: left;        margin: 20px 30px;        text-align: center;    }             .armchair img {        display: block;        margin-bottom: 10px;    }</style>Let me know if there's something I'm doing wrong or if this indeed is an issue with the kendo code. Thanks!
Regards,
Brian Roth
