[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

Duplicit values in hidden and text fields

Asked by bovlk in Programming for ASP.NET, Asynchronous Javascript and XML (AJAX)

Tags: ASP.NET, hidden, value, duplicit, text fields

Hello,

I have a ASCX control in an AJAX-enabled page that contains a lot of <asp:HiddenField> and <asp:TextBox> fields. There are 5 such controls on the page. I store some information to the hidden field in Page_PreRender, then read it again when the user presses OK. I also read the text box value on this occasion. Let's say I stored "Model" to the hidden field value and the user entered "12345" to the text box and pressed OK.

What happens sometimes is that I don't get "Model" and "12345", but "Model,Model" and ",12345" or even longer: "Model,Model,Model,Model", ",,,12345". It is very intermittent but seems to be related to the number of incomplete (interrupted by the Stop button in browser) loads, reloads and postbacks of the page. The number of repetitions is probably equal or at least proportional to the number of such interrupted postbacks. It looks like I get a copy of "Model" and an empty comma-separated string every time and only when the user enters some value into the text box I get the value after a list of commas.

Any ideas why this should happen and/or how to prevent this? Thanks in advance.
[+][-]11/05/09 04:58 AM, ID: 25748916Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]11/06/09 01:38 AM, ID: 25757787Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]11/06/09 08:05 AM, ID: 25760304Author 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.

 
[+][-]11/06/09 11:33 AM, ID: 25762321Author 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.

 
[+][-]11/06/09 01:33 PM, ID: 25763256Accepted 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, Asynchronous Javascript and XML (AJAX)
Tags: ASP.NET, hidden, value, duplicit, text fields
Sign Up Now!
Solution Provided By: bovlk
Participating Experts: 2
Solution Grade: A
 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625