This is a migrated thread and some comments may be shown as answers.

RADCombobox in Server control

2 Answers 79 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sid
Top achievements
Rank 1
Sid asked on 04 Mar 2009, 01:32 AM
Hi,
Please refer to the following telerik sample.

I want to use the same interface (multiple combo boxes) on different pages.
How can I convert the combo boxes into a server control so that I can register it in the toolbox and then drag and drop on the page I need it.

thanks and regards...

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Mar 2009, 10:55 AM
Hi Sid,

I would suggest you to use a UserControl where you can place the multiple Comboboxes. Hence you can drag and drop the UserControl to which ever page you want.

Thanks
Shinu
0
Sid
Top achievements
Rank 1
answered on 10 Mar 2009, 10:32 PM
Hi Shinu,
Although the user control is an alternative, I still want to wrap it up in a server control.
I want to access the data stored in the control. With the server control, I can expose the selection i.e. continent, country, state etc as properties of the control and use it for the rest of the page. With user controls, I would have to set these as session variables for the rest of the page to access the selection.. which is what i am trying to avoid doing.
thanks,
Sid
Tags
ComboBox
Asked by
Sid
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Sid
Top achievements
Rank 1
Share this question
or