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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:07:52+00:00 2026-05-26T20:07:52+00:00

Within an asp webform project I am making a call to a web service

  • 0

Within an asp webform project I am making a call to a web service that returns a result collection as follows.

Pseudo code return of collection

content (items are key value pair) 
 ID, 001
 Title , My Book
 DateCreated , 10/10/2011
 Author, JSmith

What I would like to do is on the initial return only display the title of the book in a data repeater and then once the user clicks on a detail display the remaining fields in a separate pane div container of the form. I’ve done this in the past with generic lists in Silverlight and in MVC however in this project I cannot use either.

In conducting some research I have seen where people are using json to make similar calls. However I debugged with fiddler and I can see that entire collection is being returned to the UI so it seems I should be able to go directly at the collection vs making a new call back to the server? Within the UI I am not using asp:net controls but standard html to render the data in the data in the UI.

Example

<div class="resultcontainer">
                    <span class="labeltitle-small">Book Title</span><br />
                    <%= BookResults[0].Title %>
                </div>

I’m able to query and return the results however where I am stuck is the best approach to display what I’ll refer to as secondary data for the associated record.

I’d really appreciate any suggestions on how (from the client) to only show a view value of the collection and then once a record is selected have the other values displayed to the user.

Thank you

  • 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-26T20:07:52+00:00Added an answer on May 26, 2026 at 8:07 pm

    Well, perhaps a bit obvious, but have you considered a little bit of AJAX, using jQuery.ajax? You could attach an onclick even handler to the div and load the data in the appropriate part of the page when the user selects a particular book.

    You can return a partial view from the controller. The resulting HTML can be displayed in a div using something along the lines of $("#detailDiv").html(partialView).

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

Sidebar

Related Questions

within an asp.net webform project I have a session variable that I am populating
Within an asp.net webform I have some jquery that controls the positioning of elements
Is it possible to call a function within an asp.net web application from outside
Obviously I know how to do this with DefaultButtons within an ASP.NET web form.
I was just writing a small asp.net web page to display a collection of
I have an existing ASP.NET web application that I'm converting to MVC 1.0. The
I have an ASP.Net UpdatePanel that updates on a timer. Within the UpdatePanel and
The situation I have an ASP.NET Webform that contains some status information about a
Within an asp.net web form I would like to add values back to a
Within a web form I have the following jQuery setup to call a method

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.