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

  • Home
  • SEARCH
  • 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 8166891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:02:10+00:00 2026-06-06T20:02:10+00:00

I am designing a web page (in Visual Web Developer) that displays a report

  • 0

I am designing a web page (in Visual Web Developer) that displays a report in graphical form. Once the graphics are seen some comments need to be appended underneath. This can only be done after the graphics have been rendered since the comments will be based on that output.

I need a way to prompt for comments and display them as an ordered list. I thought I could use a textbox with some buttons and replace these with the ordered list when the “Done” button gets clicked — ie, the textbox and buttons disappear and in their place is the ordered list of comments.

I have hacked and Googled myself silly but I haven’t come up with a solution.

Any advice is appreciated.

Regards.

  • 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-06T20:02:13+00:00Added an answer on June 6, 2026 at 8:02 pm

    I solved this problem by replacing innerHTML like this:

    protected void SubmitMessages()
    {
        string[] lines = MessagesTextbox.Text.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
        string output = "<ul>";
        foreach (string message in lines)
        {
            if (!message.Equals(""))
            {
                output += "<li>";
                output += message;
                output += "</li>";
            }
        }
        output += "</ul>";
        messagesDiv.InnerHtml = output;
    
        //string messagesFileLocation = AppDomain.CurrentDomain.BaseDirectory + "/mesages.xls";
        string messagesFileLocation = "D:\\WebApp\\messages.xml";
        FileStream fs = File.Open(messagesFileLocation, FileMode.Create, FileAccess.Write);
        if (lines.Length != 0)
        {
            using (StreamWriter sw = new StreamWriter(fs))
            {
                sw.WriteLine("<Messages>");
                foreach (string message in lines)
                {
                    if (!message.Equals(""))
                    {
                        sw.WriteLine("\t<message>" + message + "</message>");
                    }
                }
                sw.WriteLine("</Messages>");
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am designing a web page for playing some movies. I want user to
I'm designing a dynamic web page that loads contents by AJAX, like the wall
Are there any Web page designing software out there that allow me to drag
I am designing an html web page that mimics inline panes by defining this
I want to do some exercises for web front page designing. Is there any
Hello everyone i am designing a web page that contains many textboxes and a
I've recently encountered a problem designing a web page. I needed to have rounded
I am designing a web application that needs to visualize large amount of data
I am designing a web application that does server side image processing in real
I have a unique issue - I am designing a web application that creates

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.