Advertisement

03.24.2008 at 12:55PM PDT, ID: 23265104
[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

Problem with comparevalidator/ text box change

Asked by johnnyg123 in .Net Editors & IDEs

I am using asp 2.0

My html form has 2 text boxes

txtReportStartDate and txtReportEndDate

It also contains the following compare validator

 <asp:CompareValidator
                                                ControlToCompare = "txtReportStartDate"
                                                ControlToValidate = "txtReportEndDate"
                                                Type="Date"
                                                Operator="GreaterThan"
                                                ID="CompareValidatorEndDateGreater" runat="server"
                                                ErrorMessage="Report End Date must be greater than Report Start Date"/>

If the following values are entered for start and end dates

01/02/2006    and   End date 12/31/2005

The compare validator does correctly displays the error message.

However, if I then change the end date to 12/31/2006...

The message does not go away.  I do not have auto post back set to true for the text boxes

I would like the textbox value to be updated without having to do a postback.

I was thinking I could do this with some combination of a javascript function called from the onblur event but can't seem to get it working.

Any ideas ????Start Free Trial
 
Loading Advertisement...
 
[+][-]03.25.2008 at 01:15PM PDT, ID: 21205669

View this solution now by starting your 7-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

Zone: .Net Editors & IDEs
Sign Up Now!
Solution Provided By: apeter
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628