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 have a need to transfer large streams of data from a web service.
I need to transfer a database from a SQL Server instance test server to
I need to transfer a lot of foxpro files over the internet and then
I need to automatically transfer an xml file from server A over internet to
I need to get two functions. I want to transfer data from my website
For my current project in c# I need to transfer data from a SQL-Database
I need to transfer all data from a OLEDB source to XML file and
I need to Transfer some files from one server to another, using java, and
I am working on an application where i need to transfer mails from a
I need to create a data transfer object, which I will use for storing

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.