Hi
I have a RadListView bound to an EntityDataSource. Within the ItemTemplate I then have a RadButton with a ContentTemplate.
The RadButton is defined as follows (within the ListView ItemTemplate):
<telerik:RadButton ID="VehicleRadButton" runat="server" ButtonType="StandardButton"
AutoPostBack="true" GroupName="radVehicle" CommandName="Select"
ToggleType="Radio" Text='<%# String.Format("{0}", Eval("f1")) %>'>
<ContentTemplate>
<%# String.Format("[{0}]", Eval("f2")) %>
</ContentTemplate>
</telerik:RadButton>
When I do this an error occurs:
Unable to cast object of type 'Telerik.Web.UI.RadButton' to type 'Telerik.Web.UI.RibbonBarTemplateItem'.
Is it possible to do this?
Thanks
Tony