How to add templates to a r.a.d.toolbar dynamically and attach on events of controls that are nested in the templates

Thread is closed for posting
6 posts, 0 answers
  1. Peter Georgiev
    Peter Georgiev avatar
    14 posts
    Member since:
    Jan 2006

    Posted 08 Jun 2006 Link to this post

      

    Requirements

    r.a.d.toolbar version

    1.1

    .NET version

    2.0

    Visual Studio version

    2005

    programming language

    VB.NET

    browser support

    all browsers supported by r.a.d.toolbar



    PROJECT DESCRIPTION 
    This project shows:
    1. How to create a toolbar template button dynamically (from code behind) 
    2. Add this template button to the items' collection of the toolbar at a specific position
    3. Attach event handlers to controls that are nested in the dynamic template
    4. Retrieve data that the user inputs in the nested control.  

     

  2. flanagan
    flanagan avatar
    7 posts
    Member since:
    Sep 2006

    Posted 09 Nov 2006 Link to this post

    thanx , it worked
  3. Andy Steinfeld
    Andy Steinfeld avatar
    9 posts
    Member since:
    Jul 2007

    Posted 15 Oct 2007 Link to this post

    I tried to incorporate your suggestion but am not having success when trying to add a RadComboBox within the instantiate on method but it will work if I Add a literal or a RadTextBox.  I tried a checkbox and that didnt work either.  Any suggestions?

    Thank you,

    /Andy
  4. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Oct 2007 Link to this post

    Hello Andy,

    Can you open a support ticket and send us a simple project demonstrating the issue?

    Peter

    the telerik team
  5. Andy Steinfeld
    Andy Steinfeld avatar
    9 posts
    Member since:
    Jul 2007

    Posted 15 Oct 2007 Link to this post

    Peter,

    Thank you for getting back to me but my issue was not setting the ID property of the RadCombobox Control.

    Thank you,

    /Andy
  6. Charles Reid
    Charles Reid avatar
    5 posts
    Member since:
    Mar 2010

    Posted 12 Mar 2010 Link to this post

    Can this be done in C#?  I am trying to build the RadToolBar from a configuration file or setting.  I can get the button to appear, but can't get a gif to appear on the button.  I notice in the VB code that the button has a ButtonImage property that is set automatically.  I don't see an obvious comparable value in the C# code.
Back to Top