Guest User

Untitled

a guest
May 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. List<PointDataSource> source = new List<PointDataSource>();
  2. source.Add(new PointDataSource());
  3. rptKeyPoints.DataSource = source;
  4. rptKeyPoints.DataBind();
  5.  
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9. <asp:Repeater runat="server" id="rptKeyPoints">
  10.  
  11. <ItemTemplate>
  12.  
  13. <div class="reprint-content-container">
  14. <div class="itemindex">
  15. <span>(<%# Container.ItemIndex + 1%>)</span>
  16. </div>
  17.  
  18. <dl>
  19. <dt>Name of Key Point:</dt>
  20. <dd><asp:TextBox id="txtKeyPointName" runat="server" Text='<%# Eval("KeyPointName") %>' cssclass="keypoint-name"/></dd>
  21. </dl>
  22. <dl>
  23. <dt>Start Highlight (Max 200 chars)</dt>
  24. <dd><asp:TextBox id="txtStartHighlight" runat="server" TextMode="MultiLine" Text='<%# Eval("StartHighlight") %>' cssclass="highlights" /></dd>
  25. </dl>
  26.  
  27. <dl>
  28. <dt>End Highlight (Max 200 chars)</dt>
  29. <dd><asp:TextBox id="txtEndHighlight" runat="server" TextMode="MultiLine" Text='<%# Eval("StartHighlight") %>' cssclass="highlights"/></dd>
  30. </dl>
  31.  
  32. <dl>
  33.  
  34. </div>
  35. </ItemTemplate>
  36. </asp:Repeater>
Add Comment
Please, Sign In to add comment