.net resources

for an excentric world

Faq Repeater Demo

Q: What is your last name Joe?

Q: What is your last name Roger?

Q: What is your last name Elmer?


Demo Code from AboveExpand
<asp:XmlDataSource ID="namesData" DataFile="~/Path/Names.xml" runat="server" />
<ew:FaqRepeater runat="server" id="faqDemo1" DataSourceID="namesData">
  <QuestionTemplate>
    Q: What is your last name <%# Eval("FirstName") %>?
  </QuestionTemplate>
  <AnswerTemplate>
    A: My last name is <%# Eval("LastName") %>.
  </AnswerTemplate>
  <SeparatorTemplate>
    <hr>
  </SeparatorTemplate>
</ew:FaqRepeater>

quicklinks


quickblog

Copyright © 2000 - 2024, Excentrics World