Panelbar blowing up the HTML page when div has a grid

4 posts, 0 answers
  1. Karamjit
    Karamjit avatar
    5 posts
    Member since:
    Jan 2014

    Posted 23 Jan 2014 Link to this post

    when you click on the section2, the whole HTML layout is blown apart. the actual behaviour on the page with splitter is quite worse.
    this only happens when 
      <div id="orgSchlDgExmSchdl" style="min-height:400px;"></div>
    and it is not instantiates/initialized into actual grid object, the proble also does not occur when div tag is initialized into grid object.

    <head>
    <script type="text/javascript">
            $(document).ready(function () {
                //collapsible management
                $("#panelbar").kendoPanelBar({
                    //expandMode: "single"
                });
            });
        </script>


    </head>
    <body>
        <ul id="panelbar">
            <li class="k-state-active">
                <span> Section1 </span>
                <div>
                    Elements under section one
                </div>
            </li>
            <li>
                <!--<span>Section 2</span>
                <div> Elements under section2</div>-->
                <span>Data Entry Grid</span>
                <div id="orgSchlDgExmSchdl" style="min-height:400px;"></div>
            </li>
        </ul> <!-- end Panelbar-->
      
                              
    </body>
    </html>
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 24 Jan 2014 Link to this post

    Hello Karamjit,

    This looks like a bug - Kendo PanelBar uses the empty content container to detect if an Ajax request should be made and does that even if there is no URL for a request. I've added an additional check for the next internal build and service pack. Meanwhile you can add something in your content element to avoid that - even a space will do. I've also updated your points for the find.

    Regards,
    Kamen Bundev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Karamjit
    Karamjit avatar
    5 posts
    Member since:
    Jan 2014

    Posted 08 Feb 2014 in reply to Kamen Bundev Link to this post

    There is already a span element but still runs into same error.
  5. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 10 Feb 2014 Link to this post

    Hi Karamjit,

    The content element is the div - add a space in the #orgSchlDgExmSchdl div.

    Regards,
    Kamen Bundev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready