Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6943703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:11:26+00:00 2026-05-27T13:11:26+00:00

I have the following HTML code in my ASP.NET application and I want to

  • 0

I have the following HTML code in my ASP.NET application and I want to put it inside a Repeater control, so I can later on give the admin the ability to add more stuff to this repeater.

<div id="wrapper">
            <div id="article">

                        <blockquote>
                    <p>Be Safe</p>
                    <cite>&ndash; Unknown Author</cite>
                </blockquote>

                <blockquote>
                    <p>Accidents hurt – safety doesn’t.</p>
                    <cite>&ndash; Unknown Author</cite>
                </blockquote>

            </div><!-- #article -->
        </div><!-- #wrapper -->

Then, when the admin add something to this repeater, it will be between p tags and cite tags, so how to set that inside the Repeater?

UPDATE:
Also, I want to display different items from the database in each page that contains this Repeater. For example, this Repeater shows safety messages. is it possible to show different messages in each page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:11:26+00:00Added an answer on May 27, 2026 at 1:11 pm

    Try this code

    <div id="wrapper">
        <div id="article">
        <asp:Repeater id="Repeater1" runat="server" >
            <blockquote>
                <p><%# Eval("QuoteColumnName") %></p>
                <cite><%# Eval("AuthorColumnName") %></cite>
            </blockquote>
        </asp:Repeater>
        </div><!-- #article -->
    </div><!-- #wrapper -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have the following code in an asp.net mvc view. <% = Html.DropDownList(Filter, new
I have an ASP.NET MVC application and I'm trying to load the following html
I have the following JMenu inside my asp.net mvc3 web application:- <ul id=jMenu> <li><a
I have a Asp.net web application running with the following config setting. <xhtmlConformance mode=Legacy/>
I am using ASP.NET MVC2 application in C#. I have two HTML forms on
In a C#/ASP.NET application, I have a form that renders much like the following
i have the following situation. I am developing a MVC 3 asp.net application. I
I have the following code in my Site.Master page of an almost empty ASP.NET
I have the following html code: <form> <table> <tbody> <tr> <td> <span>Quantity<span class=pull-right>3</span> <input
I have the following html code: I saw that for Watir-webdriver the Watir::Image.file_size method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.