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 7940665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:26:59+00:00 2026-06-03T23:26:59+00:00

I am developing Web Application. In that i am using so many Div to

  • 0

I am developing Web Application. In that i am using so many Div to open pop ups. Now my requirement is to create dynamic Div for that popup and all the content of that div comes from the Database.

So can anyone tell me how to create Div dynamically programatically?

My Sample code for Div..

 <div id="Popup" runat="server" class="hidden-content">
            <table width="auto">
                <tr>
                    <td style="font-size: 20px; font-weight: bold; text-align: center;">
                        <p>
                        </p>
                        <b>Diabetes</b>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: 15px; text-align: left;">
                        <p>
                            Type I diabetes (also known as juvenile diabetes) is the less common form of diabetes.
                            It usually is diagnosed during childhood or teen years and requires treatment with
                            insulin.
                        </p>
                    </td>
                </tr>
            </table>
        </div>
  • 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-06-03T23:27:00+00:00Added an answer on June 3, 2026 at 11:27 pm

    I would insert either a PlaceHolder or a Literal control into you page and insert the html controls/text on PageLoad or PageRender.

    If you use the Placeholder control you can create the content using the HTML controls in System.Web.UI.HtmlControls.

    By using the Placeholder control, you could also write a custom WebControl that you could re-use in other locations within your site. This could then be added to the placeholder control at runtime.

    For a liteal, you can just append the control div HTML as text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a web application that opens a popup using windows.open(..). I need to
I'm using Google appengine for developing an web application that is meant to be
We've been developing a web application (PHP, using the Yii PHP framework) that is
We are developing a web application that will be sold to many clients. There
I am developing a web application using netbeans,in that i need to display an
I'm developing a web application that requires the user to log in using forms
I am developing a web application using .NET4.0 and C# languge. In that application
I'm developing a Web application that will let users upload images. My concern is
I'm developing a web application that shows some controls and descriptions dynamically (I don't
I'm developing a web application that is going to be served from an OSGi

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.