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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:40:48+00:00 2026-05-23T12:40:48+00:00

I need to transfer a large amount of data from server to client and

  • 0

I need to transfer a large amount of data from server to client and then, with JavaScript (jQuery) generate a lot of tables, divs and other know and unknown html elements .

When I was trying to generate those tables and divs on client side a had a couple of for loops and I was creating and appending elements on the fly.

I soon discovered that it takes a lot of time to generate all those elements and show them so I generate HTML on server side with HtmlTextWriter then I convert it ToString() and append that string on client side.

It is much faster but it is “seljacki” as we would call it in my language (the closest translation is “not elegant solution”).

So I wanted to ask does anyone have some more elegant solution to suggest and is this method that I’m using completely wrong or it could pass?

Thanks to everyone.

  • 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-23T12:40:48+00:00Added an answer on May 23, 2026 at 12:40 pm

    You don’t show your code here, but I’d guess that in your loop you are repeatedly appending rows to a table or whatnot as you iterate through the results. If so, the bottleneck is not actually generating the HTML but redrawing the content each iteration. Try assembling the entire HTML to add in memory first, then use a single append() or html() call to update the document.

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

Sidebar

Related Questions

I need to transfer data daily from SQL Server (2008) to SQL Server (2005).
I need to transfer a large number of rows from a SQL Server database
I have a need to transfer large streams of data from a web service.
I need a client-server encryption solution for web transfer, (i.e. signed and encrypted client-side,
I am using hadoop hdfs to store large data. I need to first transfer
I have an existing SQL Server database, where I store data from large specific
I need to know how we can transfer the data or records from one
I need to Transfer some files from one server to another, using java, and
I need some advice on transferring a large amount of data to a MySQL
I need to transfer a database from a SQL Server instance test server to

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.