Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8555911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:13:58+00:00 2026-06-11T15:13:58+00:00

I have a custom DropDownList control built off of a Telerik RadComoBox . I’m

  • 0

I have a custom DropDownList control built off of a Telerik RadComoBox. I’m currently trying to get this custom control to emulate another RadComboBox I have on another page that is capable of showing UserFullName, (Company) in the RadComboBox drop down by using the following aspx:

 <telerik:RadComboBox ID="rcbUsers" runat="server" Width="250px" DropDownWidth="300px" OnSelectedIndexChanged="rcbUsers_SelectedIndexChanged"
                                         HighlightTemplatedItems="true" AutoPostBack="true" Height="400px">
                        <HeaderTemplate>
                            <div>
                                Full Name (Company)
                            </div>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <div>
                                <b><%# DataBinder.Eval(Container.DataItem, "FullNameLastFirst") %></b>&nbsp;
                                (<%# DataBinder.Eval(Container.DataItem, "Company") %>)
                            </div>
                        </ItemTemplate>
                    </telerik:RadComboBox>

Is there anyway for me to imitate this in C# code behind for my custom control? It’s a requirement that I not require any aspx besides the tag:

<cc1:UserListBox ID="rcbUserTrained" runat="server" OnPreRender="rcbUserTrained_PreRender"/>

Is this possible to do at the databind or render of the custom control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T15:13:59+00:00Added an answer on June 11, 2026 at 3:13 pm

    I solved this awhile ago, basically I created a new class called UserListBoxColumns that inherits ITemplate. I defined my column structure there and bound the data and built it into my custom radcombobox by overrideing the CreateChildControls() method where I assigned the appropriate header/itemtemplate/footer into the comobox:

    rcbUserList.HeaderTemplate = new UserListBoxColumns(ListItemType.Header);
    rcbUserList.ItemTemplate = new UserListBoxColumns(ListItemType.Item);
    rcbUserList.FooterTemplate = new UserListBoxColumns(ListItemType.Footer);
    

    If you’re interested email me and I can provide more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom DropDownList control, SDropDownList. I am trying to register and fire
I have a DropDownList as a custom control inserted into a subform which is
I have a custom server control inheriting from DropDownList. On postback, the items are
I have a custom user control DatePicker.cs. Inside of another piece of code I
I have the following code in a custom user control that contains a DropDownList
I am currently developing a custom role/permission system... I have a user control with
I have a dropdownlist that I already have manually databinding. I currently get the
I have a custom usercontrol, which is basically a dropdownlist, prepopulated with values from
I have custom UITableViewCell . It contains UITextLabel . When I press this cell
I have custom validation rule: public function customRule($check) { } Inside this rule I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.