How can I add space between RadButtond? I have a commandItemTemplate with 3 buttons as follows, but I need some spacing between them.
Also is there a way for the Refresh button to be placed in the right corner?
Also is there a way for the Refresh button to be placed in the right corner?
addButton = new RadButton();
addButton.ID = "addButton";
addButton.Text = "Add Delegate";
addButton.CommandName = "InitInsert";
addButton.Visible = canAdd;
addButton.Icon.PrimaryIconCssClass = "rbAdd";
addButton.Skin = "Telerik";
deleteButton = new RadButton();
deleteButton.ID = "deleteButton";
deleteButton.Text = "Delete Selected Delegates";
deleteButton.CommandName = "DeleteSelected";
deleteButton.OnClientClicked = "OnClientClicked"; //"javascript:return confirm('Delete all selected delegates?')";
deleteButton.Icon.PrimaryIconCssClass = "rbRemove";
deleteButton.Skin = "Telerik";
refreshButton = new RadButton();
refreshButton.ID = "refreshButton";
refreshButton.Text = "Refresh";
refreshButton.CommandName = "RebindGrid";
refreshButton.Icon.PrimaryIconCssClass = "rbRefresh";
refreshButton.Skin = "Telerik";
container.Controls.Add(addButton);
container.Controls.Add(new LiteralControl(" "));
container.Controls.Add(deleteButton);
container.Controls.Add(new LiteralControl(" "));
container.Controls.Add(refreshButton);