Hey there,
I have a series of buttons and drop downs that I'd like to show in the header of my RadGrid using the CommandItemTemplate. My first attempt at solving this problem involved using the RadToolBar. This works well, except I have not been able to identify a way to position the buttons as I'd like. Essentially, I want to be able to have the last button in the ToolBar aligned to the right.
Is there a way to use an HTML table to position the RadToolBar's Items as I'd like?
Using standard ASP.Net controls, the essential layout I'd want can be created like this:
<table style="width: 100%"> |
<tr> |
<td> |
<asp:DropDownList ID="SentBoxSelect" runat="server" CssClass="Normal" AutoPostBack="true" OnSelectedIndexChanged="SentBoxSelect_SelectedIndexChanged"> |
<asp:ListItem Text="All" Value="All" /> |
<asp:ListItem Text="None" Value="None" /> |
</asp:DropDownList> |
<asp:Button ID="btnReplySent" runat="server" CssClass="Normal" Text="Reply" /> |
</td> |
<td style="text-align: right"><asp:Button ID="SentTools" runat="server" CssClass="Normal" Text="Tools & Settings" OnClick="ToolsAndSettingsButton_Click" /></td> |
</tr> |
</table> |
This results in a DropDownList on and a Button on the left side of the Grid's Header, and a "Tools & Settings" button aligned on the right side.
Thanks for your help,
Chris