Hey there,
I'm attempting to use the RadFormDecorator to style some ASP.Net Button and DropDownList controls within the CommandItemTemplate of a RadGrid. The relevant code looks like this:
| <telerik:RadFormDecorator ID="RadFormDecorator1" Skin="Vista" runat="server"/> |
| <telerik:RadGrid ID="SentBox" runat="server" AutoGenerateColumns="False" GridLines="None" |
| OnItemCommand="SentBox_ItemCommand" ShowGroupPanel="false" AllowFilteringByColumn="false" |
| PagerStyle-Mode="NextPrevAndNumeric" AllowSorting="true" AllowPaging="true" OnItemDataBound="SentBox_ItemDataBound" |
| OnNeedDataSource="SentBox_NeedDataSource" OnItemCreated="SentBox_ItemCreated" CssClass="DocSiteGrid" |
| PageSize="10" ShowStatusBar="true" OnSelectedIndexChanged="SentBox_SelectedIndexChanged"> |
| <HeaderStyle CssClass="Normal" Font-Bold="true" /> |
| <MasterTableView CommandItemDisplay="Top"> |
| <CommandItemTemplate> |
| <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" /> |
| <telerik: |
| </td> |
| <td style="text-align: right"><asp:Button ID="SentTools" runat="server" CssClass="Normal" Text="Tools & Settings" /></td> |
| </tr> |
| </table> |
| </CommandItemTemplate> |
Unfortunately, this isn't working as I'd expect at the moment. Any controls outside of the CommandItemTemplate are skinned appropriately; those within are not.
Suggestions?
Chris