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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:42:13+00:00 2026-05-19T16:42:13+00:00

I have a user control with a DataList in it. I want the list

  • 0

I have a user control with a DataList in it. I want the list to show only the first 20 records, with a “more” link at the bottom. If the user clicks more, asynchronously load 20 more records below the previous records, without postback. Is it possible to accomplish with stardard Microsoft AJAX without using something like jQuery?

  • 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-19T16:42:14+00:00Added an answer on May 19, 2026 at 4:42 pm

    No one has responded, and this is the closest thing I can find about this:

    http://joelabrahamsson.com/entry/twitter-style-paging-with-aspnet-mvc-and-jquery

    The only way I could make this work was to completely restructure my page — forego using web UserControl’s. Forego using UpdatePanel’s and server side UI controls such as DataList. I wrote everything in client side javascript using jQuery, and did my own AJAX calls. Works MUCH better now. Now I can simply do an AJAX call to a static [WebMethod] on my server, and have it return the messages, and then just do a:

    $('#messagesdiv').append(msgHtml.d)
    

    and have jQuery just dynamically update the DOM with the new HTML for the new messages. Of course, it’s a little more complicated than that, but you get the idea, I hope.

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

Sidebar

Related Questions

i have user control, which i render on several views. i want to show
I have a user control and I want the developer who drops the user
I have a user control. It contrains LinkButton. I want to attach an click
I have a user control ( gallery.ascx ) and I want to use the
I have user control in my MVC2 app placed in the Content folder (it's
I have an User Control that host another controls like panel, chart controls. Right
I have a user control bound to appropriate ViewModel. I have a GraphLayout (using
I have this User Control XAML: <Window x:Class=MyProj.Dialog xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml xmlns:mc=http://schemas.openxmlformats.org/markup-compatibility/2006 xmlns:d=http://schemas.microsoft.com/expression/blend/2008 xmlns:shell=http://schemas.microsoft.com/winfx/2006/xaml/presentation/shell mc:Ignorable=d>
I have a user control that is being integrated to the page on run
I have a user control with a div like this: <div runat=server id=pnlShippingMethods class=checkoutstep>

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.