Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Display controls on tree nodes?
posted

Is it possible to add controls at the node level?  For example I need to display a couple of buttons depending on the level of the node.  One a different level I need to display a combo-box and button.  I was thinking that perhaps there is some way of specifying a template like the templated data controls.

 Any suggestions kindly received.

Kevin White

Parents
No Data
Reply
  • 5118
    posted

    Hi Kevin,

     You can always inject markup to acheive these results...

    node.Text = "<input type='button' value='Button Text' />"

    the key here is knowing that you can inject markup anywhere there is a text property and the markup will render out.

Children
No Data