ba272
asked on
ListView SelectedIndexChanged is firing multiple events
Greetings,
I have handled the SelectedIndexChanged for a ListView, but am finding it's firing three times for one click in the ListView. I put a breakpoint there and it breaks there three times. Could this be the interaction with the debugger?
Thanks,
Bob
I have handled the SelectedIndexChanged for a ListView, but am finding it's firing three times for one click in the ListView. I put a breakpoint there and it breaks there three times. Could this be the interaction with the debugger?
Thanks,
Bob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hello
Install latest service pack, it may be a bug. I currently use .net 2 and doesn't seem to have this problem.
Good luck
Install latest service pack, it may be a bug. I currently use .net 2 and doesn't seem to have this problem.
Good luck
ASKER
HeidarV,
How do I check the version of .NET I am using?
Thanks,
Bob
How do I check the version of .NET I am using?
Thanks,
Bob
Hello Bob
If you use visual studio 2003 .net is 1.1 and if you use visual studio 2005 .net is version 2.
If you use visual studio 2003 .net is 1.1 and if you use visual studio 2005 .net is version 2.
ASKER
Thanks,
Bob
Bob
In the meantime I even tried setting an "updating" flag before and after I do anything with the UserLIstView, still no luck:
if (!_isupdating)
{
try
{
string sID = UserListView.SelectedItems[0].SubItems[0].Text;
if (radioButtonEditMode.Checked)
{
//ResetFields();
LoadSpecificUser(Convert.ToInt32(sID));
}
}
catch (Exception ex)
{
string sTest = ex.Message;
MessageBox.Show("Please set the security level");
return;
}
}
Sorry, wrong post. Delete the above, mods, if you like.
tom
tom
ASKER