Background Image

2 posts, 0 answers
  1. bally
    bally avatar
    4 posts
    Member since:
    Sep 2013

    Posted 19 Sep 2013 Link to this post

    I am looking at using a background image to use on the window.  

    I currently would like to put an image as a background and make it about A4 size so if someone wishes to print it, then it could be possible. However even if I reference an image off the internet it still does not show, however the colour does.  

    I have tried to simply use your kendo window mvc demo code but no luck. I have added a Div referenced test to simply add an image 

    Do you have any ideas?


        .Title("About Alvar Aalto")

    <div class="test">
                Alvar Aalto is one of the greatest names in modern architecture and design.
                Glassblowers at the iittala factory still meticulously handcraft the legendary
                vases that are variations on one theme, fluid organic shapes that let the end user
                ecide the use. Interpretations of the shape in new colors and materials add to the
                growing Alvar Aalto Collection that remains true to his original design.

                Born Hugo Alvar Henrik Aalto (February 3, 1898 - May 11, 1976) in Kuortane, Finland,
                was noted for his humanistic approach to modernism. He studied architecture at the
                Helsinki University of Technology from 1916 to 1921. In 1924 he married architect
                Aino Marsio.

                Alvar Aalto was one of the first and most influential architects of the Scandinavian
                modern movement, and a member of the Congres Internationaux d'Architecture Moderne.
                Major architectural works include the Finlandia Hall in Helsinki, Finland,
                and the campus of Helsinki University of Technology.

                <a href="" title="About Alvar Aalto"></a>
        .Actions(actions => actions.Pin().Minimize().Maximize().Close())
        .Events(ev => ev.Close("onClose"))

    <span id="undo" style="display:none" class="k-button">Click here to open the window.</span>

        function onClose() {

        $(document).ready(function() {
            $("#undo").bind("click", function() {

    <style scoped>

        #undo {
            text-align: center;
            position: absolute;
            white-space: nowrap;
            padding: 1em;
            cursor: pointer;

  2. Dimo
    Dimo avatar
    8403 posts

    Posted 19 Sep 2013 Link to this post

    Hi Bally,

    The provided example works as expected on my side and the background image is displayed. The problem does not seem related to Kendo UI. Please inspect the Window's HTML output with a DOM inspector to see why the background image style is not applied.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top