Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a usercontrol that basically displays nodes of a sidebar doc type according to checkboxes within a main page doc type.
The sidebar doctype also inclues a media picker field, how do I render this field from the usercontrol?
My usercontrol looks like so:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SidebarWidgets.ascx.cs" Inherits="SidebarWidgets" %> <asp:Repeater ID="widgetRepeater" runat="server" onitemdatabound="WidgetRepeater_ItemDataBound"> <ItemTemplate> <li> <span><asp:PlaceHolder ID="sidebarMediaIcon" runat="server" /></span> <h2><asp:PlaceHolder ID="contentTitle" runat="server" /></h2> <asp:PlaceHolder ID="bodyText" runat="server" /> </li> </ItemTemplate> </asp:Repeater>
I know how to do it if using an XSLT file but not within a user control.
Thanks
Robert
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Display Media Picker Image
I have a usercontrol that basically displays nodes of a sidebar doc type according to checkboxes within a main page doc type.
The sidebar doctype also inclues a media picker field, how do I render this field from the usercontrol?
My usercontrol looks like so:
I know how to do it if using an XSLT file but not within a user control.
Thanks
Robert
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.