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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:12:59+00:00 2026-05-26T14:12:59+00:00

Hey guys I wanted to know if I get get some advice from some

  • 0

Hey guys I wanted to know if I get get some advice from some asp.NET MVC and Ajax users. I’m building a tool that allows you create a wishlist app and wanted to add ajax to it and make it more dynamic.

For example. Users can enter a shopping term, I will pull up a list of products(from various apis and web services) and then they add in a description(why they want it) and hit submit. I will add the item(custom class like WishListItem.vb) to the list(WishList.vb) and display the item and description on the page. They can keep doing this over and over.

But getting a postback every time is annoying and not very user friendly. So I wanted to add Ajax functionality to it. And wanted to know if you guys had some good ways with jQuery and straight Javascript to do it.

For example when the users type in want they want and it’s description and hit submit. I will add it to their list via ajax. And update the content display said the list with ajax. Like it would show a progress bar and then display the list with the newly add item.

I see some Ajax.BeginForm() in the views, and wanted to get some guidance on the best way to implement this.

I was wondering how can I get my View to communicate with the Model, and vice versa which I know shouldn’t happen. But how else would I add items to the list and update the html with Ajax?

Any help would be greatly appreciated.

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-26T14:12:59+00:00Added an answer on May 26, 2026 at 2:12 pm

    Use jQuery.ajax and a partial view.

    $.ajax({
        url: "/Controller/Action",
        type: "POST",
        data: { Item: "SKU#???", Descr: "Some Description" },
        success: function (data) {
            $("#SomeElement").html(data);
        }
    });
    

    Then in the action, return a partial view of the result.

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

Sidebar

Related Questions

Hey guys. I don't know much JS, but I wanted to do some quick
Hey Guys, here is my code for this, the only help i get from
hey guys i want to fetch 3 tables in 1 single ado.net call from
Hey guys I wanted to ask if you can do some conditional checks on
Hey guys, I wanted to know how to send data to a wordpress page
hey guys i have written a small webservice which allows users of a company
Hey guys, I am working on a game, and wanted to add a screen
Hey guys I was wondering if there is a way to get a certain
Hey im working on my first php site, and was hoping to get some
Hey guys I'm following the rails tutorial found here http://net.tutsplus.com/tutorials/ruby/the-intro-to-rails-screencast-i-wish-i-had/ and I've gotten 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.