This is a migrated thread and some comments may be shown as answers.
Extra button(s) next to the dropdown arrow
3 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
Gilbert van Veen
Top achievements
Rank 1
Gilbert van Veen asked on 05 Jun 2014, 11:51 AM
Hi,

Is it possible to add extra buttons next to the Arrow-dropdown button?
I want to add two buttons with their own events etc.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 06 Jun 2014, 07:44 AM
Hi Gilbert,

Thank you for writing.

Here is how you can add additional buttons, next to the arrow button in RadDropDownList:
RadButtonElement b1 = new RadButtonElement();
b1.Text = "+";
radDropDownList1.DropDownListElement.Children[2].Children.Add(b1);
 
RadButtonElement b2 = new RadButtonElement();
b2.Text = "-";
radDropDownList1.DropDownListElement.Children[2].Children.Add(b2);

I hope that you find this information useful.

Regards,
Stefan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Gilbert van Veen
Top achievements
Rank 1
answered on 06 Jun 2014, 02:06 PM
Hi,

Thanks, that's great!

How can I set the size of the button?

0
Stefan
Telerik team
answered on 09 Jun 2014, 08:37 AM
Hello,

The button will size according to its content, however, if you want to set a custom size, you can set its AutoSize property to false, and set the desired size via the Size property.

Regards,
Stefan
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Asked by
Gilbert van Veen
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Gilbert van Veen
Top achievements
Rank 1
Share this question
or