[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.2

How to update an updatepanel using regular links?

Asked by DreamMaster in Programming for ASP.NET, Microsoft Visual Basic.Net, .NET Framework 2.x

Tags: updatepanel, link, update

Hey everyone,

I have been breaking my brains over this one. The client we have really wants to use AJAX, and I say good for him, however there are some things that are a little harder to acchieve for this client.

For a part of what I am building we need to show the products they have, it's a shop that sells every kind of battery you can imagine. Normally I'd be thinking in the likes of repeaters or possibly a gridview to display the lists of products he has. However, the system that is running on the background requires some special concideration. The way I need to get the data out of there is done in their own special way and always returns me a so called SumatraVT.ResultSet, if I'd be in luck, I'd be able to bind that to the repeater, but...I am NOT in luck. ;)

It turned out I had to write out the entire thing from codebehind, so instead i created two literals inside the updatepanel. One to hold the products for the selected page, one to hold the pagination. I also added buttons to make sure I could jump from page to page. That works fine, but it does get confusing when you can see on which page you are by seeing the pagenumber below, but you can't click the link.

Now if this would have been without AJAX, that would have been easy for me, I'd just add a querystring value to tell the page to which pagenumber I'd want to go. Easy peasy right? But with AJAX and an updatepanel...I am at a loss. For all I know I need to be able to execute a server side function to make sure the page gets updated, but I cannot trigger a postback using an ordinary link, nor can I add a function that needs to get executed WHEN I click that link.

I'll admit I've been working on this for far to long which has clowded my mind a bit so I am not seeing any other solutions either at this point in time. Is there anyone out there that could solve my problem so I could give the pagination in a way that would be logical to use?

Thanks in advance. Just ask if you need to see any of my code. Although it really is a mess if you don't know this Sumatra system. (I've been building workaround upon workaround)

Kind regards,
Max.
[+][-]12/05/07 07:32 AM, ID: 20412008Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Programming for ASP.NET, Microsoft Visual Basic.Net, .NET Framework 2.x
Tags: updatepanel, link, update
Sign Up Now!
Solution Provided By: cwoods08
Participating Experts: 2
Solution Grade: A
 
[+][-]12/04/07 02:37 AM, ID: 20401955Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12/04/07 04:13 AM, ID: 20402226Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/06/07 02:35 AM, ID: 20418547Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12/11/07 01:58 AM, ID: 20448212Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628