Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Hiearchy details template - Load external html file

$
0
0

Hi there,

i am looking to load an external html page into the tab of a details template. this seems pretty strait forward to do if it is a just a regular tabstrip however when the tabstrip is a template, i cant seem to get this to work:

    <script type="text/x-kendo-template" id="template">
       <div class="tabstrip">
            <ul>
                <li class="k-state-active">
                    Details
                </li>
            </ul>
            <div>
                <div class="statuspage">
                    <div class="content"></content>
                </div>
            </div>
        </div>
    </script>

         function detailInit(e) {
            var detailRow = e.detailRow;
            detailRow.find(".tabstrip").kendoTabStrip({
                animation: { open: { effects: "fadeIn" } },
                dataTextField: "text",
                dataContentField: "content",
                dataUrlField: "url",
                dataContentUrlField: "contentUrl",
                dataSource: [{
                    text: "Build Output",
                    content: "This displays content IF i press the tab",
                    contentUrl: "http://doesnt work."
                }]
            });
        }

 i will need to app the url as demonstrated in the demo. e.data.poperty

 

thanks!

 

Jonathan 

 

  

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>