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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:34:26+00:00 2026-06-06T05:34:26+00:00

What I’m trying to do: Create a ‘grid’ once the page loads with some

  • 0

What I’m trying to do:

Create a ‘grid’ once the page loads with some settings, then rather than using post backs to regenerate this grid I want to use nice quick service methods, i.e. page change, filter results

What I’d usually do is re-create the html based on a DTO that the service passed back. Now the issue I have is that I’m in effect creating the Html in two places (in the asp.net page) and also in the JavaScript.

Now I know this could be done by using MVC in the same application, creating a partial, rendering it on the server and sending back the Html (After adding the model to it).. But it seems a bit hacky

Alternatively I could create the html in the code behind, but that seems a bit crap, would be great to have it in a html like editor.. again like a partial..

Am I missing something really obvious, is there a cleaner way? (Still using ASP.net)

  • 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-06T05:34:27+00:00Added an answer on June 6, 2026 at 5:34 am

    I would suggest looking at the possibilities offered by Allan Jardine’s excellent jQuery plugin DataTables. I’ve been using it for a couple years and it has proven itself many times over as being fast, very cross-browser friendly, and integrates reasonably well with 2D arrays coming back from an ASMX webservice, or my preferred method, List<MyObject>, which ASMX serializes as an array of JSON objects.

    Much of the time we don’t even need to worry about paging server side. If you’re handling less than a couple thousand rows of data, dataTables is plenty fast to handle paging and filtering of that data all on the client, even in older browsers. IE6/7 start to get a bit jerky sometimes, but remain what I would consider, usable.

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I'm trying to create an if statement in PHP that prevents a single post
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm making a simple page using Google Maps API 3. My first. One marker
I am trying to understand how to use SyndicationItem to display feed which is
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function

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.