Advertisement

07.21.2008 at 01:31AM PDT, ID: 23581135
[x]
Attachment Details

Cancel Selection change of Listview control

Asked by Thomasian in Microsoft Visual Basic.Net, .Net Editors & IDEs, Visual Studio 2008

Tags: VB 2008

I have a list view control which shows all the employee names. The user can select the employee to be edited by clicking an item in the listview control. The info of the employee will be displayed in a group of textboxes where the user can make the necessary changes.

The input will only be validated when the user selected another employee or the save button is clicked. If there is an invalid input, the corresponding control will have focus.
e.g., if the user leaves the name blank, a message will be displayed then the textbox control for the name will have focus.

How do I stop the listview from changing the selecteditem if an invalid input is found?Start Free Trial
[+][-]07.21.2008 at 02:34AM PDT, ID: 22049015

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

Zones: Microsoft Visual Basic.Net, .Net Editors & IDEs, Visual Studio 2008
Tags: VB 2008
Sign Up Now!
Solution Provided By: rachitkohli
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.21.2008 at 02:41AM PDT, ID: 22049051

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 02:41AM PDT, ID: 22049053

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

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

 
[+][-]07.21.2008 at 02:49AM PDT, ID: 22049076

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 02:59AM PDT, ID: 22049113

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 07:12PM PDT, ID: 22056063

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 02:19PM PDT, ID: 22063803

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 07:22PM PDT, ID: 22065520

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 01:18AM PDT, ID: 22066993

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906