Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Populate table with results from web service

Posted on 2010-09-22
1
Medium Priority
?
518 Views
Last Modified: 2013-11-05
Hello,

   I started using ASP .NET 2010 recently and I'm not familiar with all the controls and which one is the right one to use. Basically, I need to put the data comming from a web service into some kind of "table" such that:

1) each cell has an on-click event that can be handled (ie say each row has merchant name and merchant address, I want to be able to detect when a user selects a merchant and redirect the user to that merchant page)
2) the headers of the table can be clicked to handle sorting (ie for the above example i need to be able to tell which column header was clicked in order to do sorting on that column)
3) the table needs to be populated dynamically when the result comes back from the web service

I looked at listview but it seems that this has changed much from previous versions of ASP.NET. I don't know if gridview is a good choice either. Is there any component out there that can be used in this case?
0
Comment
Question by:maxy88
1 Comment
 
LVL 53

Accepted Solution

by:
Dhaest earned 1000 total points
ID: 33741576
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question