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. 97AD96E1-EF11-4E30-BCDB-005E455D92B6
    97AD96E1-EF11-4E30-BCDB-005E455D92B6 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. 9BA570E8-2856-4387-B5B8-B5715EDCFD8D
    9BA570E8-2856-4387-B5B8-B5715EDCFD8D avatar
    7 posts
    Member since:
    Sep 2006

    Posted 09 Nov 2006 Link to this post

    thanx , it worked
  3. D81076B7-6BB2-4292-A5A2-97F7A4AFD691
    D81076B7-6BB2-4292-A5A2-97F7A4AFD691 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. 8AECA7A5-3E26-4708-AD62-47AA92940523
    8AECA7A5-3E26-4708-AD62-47AA92940523 avatar
    6637 posts
    Member since:
    Sep 2012

    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. D81076B7-6BB2-4292-A5A2-97F7A4AFD691
    D81076B7-6BB2-4292-A5A2-97F7A4AFD691 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. 8DDC7FD2-1126-4598-8BD7-F6A3DE22CC7D
    8DDC7FD2-1126-4598-8BD7-F6A3DE22CC7D 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

This Code Library is part of the product documentation and subject to the respective product license agreement.