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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:16:21+00:00 2026-05-23T08:16:21+00:00

The applications I work on are all ASP.NET apps for an intranet website. We

  • 0

The applications I work on are all ASP.NET apps for an intranet website. We are adding more and more JQuery client side code to the apps to enhance the user experience. The dropdownbox filling however is still done on a codebehind page like described in 1.

What is the best way to do it “nowadays”:

  1. using ASP.NET serverside controls
    Using an asp:DropDownList doing a Databind on the server to initially populate the list

  2. doing an JQuery AJAX call
    getting the data as a List<> from a ASP.NET webservice and using Jquery to create options for each returned list item.

  3. Using a ViewModel
    use a webservice like in 2. but fill the result to knockouts viewmodel and use its data-binding capabilities to let knockout populate the select options.

Thanks!

  • 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-23T08:16:22+00:00Added an answer on May 23, 2026 at 8:16 am

    Much of what you will want to do is going to depend on how you are posting data back to the server. As others have suggested, for large lists, using your option #2 or #3 is the way to go. However, by doing it this way, your DOM elements will not be added to the page ViewState and you will run into problems when posting back to the page. Your dropdown list selected value will be lost on postback. If you are going to use AJAX to post form data to the server and the page will not be performing a full postback then you’ll be good to go as no page objects will be redrawn.

    Using AJAX to populate your pages will give you a lot of control over the user experience as you’ll be able to load large lists after the page has loaded. Your pages can become much more dynamic and your users will appreciate this. In our company, we work with large lists of data and sending everything to the page in one shot would not work. Moreover, we have users access pages from around the world and speed of page load is definitely an issue. AJAX/JSON has allowed our pages to load much quicker for all users. We do everything client-side and we only post data back to the server using AJAX so we never run into problems posting back.

    Go with what you know. However, it is definitely worth your while to run some AJAX tests and see how comfortable you and your colleagues are with this new approach.

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

Sidebar

Related Questions

Background: I work in a suite of ASP.NET applications that have several different modules.
Previously for all our asp.net applications we have been using a sysadmin user within
I created custom membership provider for asp.net mvc applications and it all works fine
I found all the code I need to make SHBrowseForFolder work in my application.
I'm developing a VB.NET 1.1 web application. All validation and RegEx controls work perfectly
I'm starting to write more and more web applications for work. Many of these
I work on applications developed in C#/.NET with Visual Studio. Very often ReSharper, in
We're seeing an odd pattern in our QA Lab. We have two ASP.NET applications,
All -- We recently received a contract to develop a mobile ASP.Net version of
I have a lot of ASP.NET 2.0 applications using the form authentication. It works

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.