Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<PointDataSource> source = new List<PointDataSource>();
- source.Add(new PointDataSource());
- rptKeyPoints.DataSource = source;
- rptKeyPoints.DataBind();
- ------------------------------------------------------------------------------
- <asp:Repeater runat="server" id="rptKeyPoints">
- <ItemTemplate>
- <div class="reprint-content-container">
- <div class="itemindex">
- <span>(<%# Container.ItemIndex + 1%>)</span>
- </div>
- <dl>
- <dt>Name of Key Point:</dt>
- <dd><asp:TextBox id="txtKeyPointName" runat="server" Text='<%# Eval("KeyPointName") %>' cssclass="keypoint-name"/></dd>
- </dl>
- <dl>
- <dt>Start Highlight (Max 200 chars)</dt>
- <dd><asp:TextBox id="txtStartHighlight" runat="server" TextMode="MultiLine" Text='<%# Eval("StartHighlight") %>' cssclass="highlights" /></dd>
- </dl>
- <dl>
- <dt>End Highlight (Max 200 chars)</dt>
- <dd><asp:TextBox id="txtEndHighlight" runat="server" TextMode="MultiLine" Text='<%# Eval("StartHighlight") %>' cssclass="highlights"/></dd>
- </dl>
- <dl>
- </div>
- </ItemTemplate>
- </asp:Repeater>
Add Comment
Please, Sign In to add comment