Non-Editable Node Labels

4 posts, 0 answers
  1. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 18 Jul 2011 Link to this post

    Is there is a way (other than building static images for each specific one) to create a non-editable label on individual nodes?

    So that following the pattern,

    Item 1
        Property 1:  property1 value
        Property 2:  property2 value

    Where the 'property1 value' is the actual text of the node, and "Property 1:" is the node 'label'.  Such that when the user elects to edit that property, they're only editing the text of "property1 value", not the label.
  2. Plamen
    Admin
    Plamen avatar
    2969 posts

    Posted 19 Jul 2011 Link to this post

    Hello Marbry,

    You will have to use a template. Please have a look at our Templates demo.

    Regards,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 19 Jul 2011 Link to this post

    Thank you Plamen, I was hoping there was a simple node property to do that, but I'll take a look at the templates.
  4. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 20 Jul 2011 Link to this post

    I resolved this.  Since I have about 20 different templates, I created a single function that reinstantiates all of them.  Then I can simply call that when the tree is built initially and when any postback is made.
Back to Top