Hello!
Here is a peice of code that allows us to add a Button in a TextEdit:
Now, I need to add a button next to the drop-down-arrow-button in a DropDownList control
Here is a peice of code that allows us to add a Button in a TextEdit:
private void SetupSpecialControls() { RadButtonElement buttonElement = new RadButtonElement("..."); buttonElement.Click += buttonElement_Click; RadTextBoxItem textBoxItem = Text_Update_BI_BatchNo.TextBoxElement.TextBoxItem; textBoxItem.Alignment = ContentAlignment.MiddleLeft; Text_Update_BI_BatchNo.TextBoxElement.Children.Remove(textBoxItem); DockLayoutPanel.SetDock(textBoxItem, Telerik.WinControls.Layouts.Dock.Left); DockLayoutPanel.SetDock(buttonElement, Telerik.WinControls.Layouts.Dock.Right); DockLayoutPanel dockLayoutPanel = new DockLayoutPanel(); dockLayoutPanel.Children.Add(buttonElement); dockLayoutPanel.Children.Add(textBoxItem); Text_Update_BI_BatchNo.TextBoxElement.Children.Add(dockLayoutPanel); }Now, I need to add a button next to the drop-down-arrow-button in a DropDownList control