Adding templates Client-Side?

2 posts, 0 answers
  1. David Kemp
    David Kemp avatar
    4 posts
    Member since:
    Feb 2008

    Posted 28 Apr 2010 Link to this post

    I am curious to know if I can add template data via the Client-Side api much like the way you can do this server-side. Such as the way you do it in example: I have been able to achieve this server-side by adding this to a root item:


    Dim ChildItem As Telerik.Web.UI.RadMenuItem = New Telerik.Web.UI.RadMenuItem("MyControl")



    (The user control has the html)

    I've gotten close to the functionality. I've added this code to a root item:



    var item = new Telerik.Web.UI.RadMenuItem();


    item.set_text('<div style="width: 100px; height: 150px">My template data</div>');

    This actually works but it appears to have the menu item functionality overlaid.


  2. Yana
    Yana avatar
    5024 posts

    Posted 29 Apr 2010 Link to this post

    Hi David Kemp,

    I'm afraid that templates cannot be added on the client.

    All the best,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top