selectedvalue

WPF ListView SelectedValue not being set

I've looked at a few solutions but nothing has worked yet for me. I'm using MVVM for this project and have a ListView that I can't set the SelectedItem property. If this is my (simplified) XAML. <ListView Name="uxPackageGroups" ItemsSource="{Binding Path=PackageGroups, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" BorderThicknes...

asp.net postback before page fully loaded cause dropdownlist to have the wrong SelectedValue

We were having occasional reports where the value of a set of DropDownBoxs in a GridView would be reset to the first value item in the list. We finally tracked it down to a timing issue where a user would click Save before the page finished rendering/loading the data, and we are able to repro it on the production server but not locall...