Hello everyone,
I have a splitbutton with an radtoolbarbutton that is a template. The template works fine and displays perfectly, however when I do a postback on the page, the template disappears and i see nothing. Has anyone experienced this before. The RadToolBar is below:
| <telerik:RadToolBar ID="RadToolBarGridMenu" runat="server" Width="100%" |
| onbuttonclick="RadToolBarGridMenu_ButtonClick" Skin="Black" > |
| <Items> |
| <telerik:RadToolBarButton Text="Bulk Edit Selected" Value="Edit"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Update Data" Visible="false" Value="Update"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Cancel Bulk Edit" Visible="false" Value="Cancel"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarButton Text="Disable Paging" Value="Paging"></telerik:RadToolBarButton> |
| <telerik:RadToolBarButton Text="Expand All" Value="Expand" Visible="false" /> |
| <telerik:RadToolBarButton Text="Collapse All" Value="Collapse" Visible="false" /> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarDropDown Text="Export"> |
| <Buttons> |
| <telerik:RadToolBarButton Text="Export To PDF" CommandName="PDF" /> |
| <telerik:RadToolBarButton Text="Export To Word" CommandName="Word" /> |
| <telerik:RadToolBarButton Text="Export To Excel" CommandName="Excel" /> |
| </Buttons> |
| </telerik:RadToolBarDropDown> |
| <telerik:RadToolBarButton IsSeparator="true" /> |
| <telerik:RadToolBarSplitButton Value="View" > |
| <Buttons> |
| <telerik:RadToolBarButton Text="All Projects"> |
| </telerik:RadToolBarButton> |
| <telerik:RadToolBarButton IsSeparator="true" Value="Separator" /> |
| <telerik:RadToolBarButton CssClass="logo" Value="SaveTemplate"> |
| <ItemTemplate> |
| <div onclick="StopPropagation(event)"> |
| <table id="NewView" width="250px" style="margin-left:28px"> |
| <tr><td>View Name:</td><td><asp:TextBox ID="TextBoxViewName" runat="server" Width="150px" MaxLength="200" /></td></tr> |
| <tr><td>Is Default View:</td><td><asp:CheckBox ID="CheckBoxViewDefault" runat="server" /></td></tr> |
| <tr><td colspan="2" align="center"><asp:Button ID="ButtonCreateView" runat="server" Text="Save Template As View" OnClick="SaveTemplateAsView" /></td></tr> |
| </table> |
| </div> |
| </ItemTemplate> |
| </telerik:RadToolBarButton> |
| </Buttons> |
| </telerik:RadToolBarSplitButton> |
| </Items> |
| </telerik:RadToolBar> |
Thank you.