Hi,
The property changed event is triggered multiple times when a property is changed. Please check the attached project for sample.
Please let me know the solution so that the event will be triggered only once.
Regards,
Ramesh Durai
Hello Ramesh,
Thank you for contacting Infragistics. I've tested out our application and I was not seeing PropertyItemValueChanged firing twice nor the members in your view model in 2016.1 build 2134 (latest service patch). I've attached a sample solution that you can run using our latest service release assemblies. Please let me know if the application reproduces the behavior you've found. If not please let me know which build you are using.
If you are not currently using the latest service release and would like to upgrade please read these instructions.
The latest Service Release build is available at Infragistics.com.
1. Go to https://ko.infragistics.com/my-account/keys-and-downloads. You may be prompted to log in with your username and password.
2. You will see a list of all of your registered keys. Select the version of NetAdvantage you are interested in.
3. Select the "Services Releases" tab on the bottom.
4. Click on the item you want to download.
Let me know if you have any questions regarding this matter.
I am using the latest service release(2016.1 build 2134) and still having the same issue. There is no sample solution in your post.
Are you seeing the MessageBox show twice for each property change? Can you please provide environment details? I'd imagine you kept the same version of DotNet.
I don't see this behavior occurring however it's come to my attention that we may have addressed this issue. I'd like for you to download our latest build here:
https://filetransfer.infragistics.com/public.php?service=files&t=8dc8d6513aa7e1203204d87219fe1dca
Let me know if you have any questions.
Yes, I am seeing the message box twice for each property change. This issue also occurs in the build you've shared. I have just downloaded your code and uncommented the messagebox line.
Environment:
IDE: VS Professional 2012
OS : Windows 7 Enterprise 64 bit
Ramesh,
Thank you very much for following up. Since I was unable to reproduce the behavior I will begin building a virtual machine tailored to your environment in an attempt to reproduce this. In the meantime please provide a video demonstrating the issue occurring and upload it here, if possible. I will inform you as soon as I begin testing.
Microsoft Visual Studio Professional 2012Version 11.0.61219.00 Update 5Microsoft .NET Framework Version 4.6.01055Installed Version: ProfessionalLightSwitch for Visual Studio 2012 04938-004-0033001-02877Microsoft LightSwitch for Visual Studio 2012Office Developer Tools 04938-004-0033001-02877Microsoft Office Developer ToolsTeam Explorer for Visual Studio 2012 04938-004-0033001-02877Microsoft Team Explorer for Visual Studio 2012Visual Basic 2012 04938-004-0033001-02877Microsoft Visual Basic 2012Visual C# 2012 04938-004-0033001-02877Microsoft Visual C# 2012Visual C++ 2012 04938-004-0033001-02877Microsoft Visual C++ 2012Visual F# 2012 04938-004-0033001-02877Microsoft Visual F# 2012Visual Studio 2012 Code Analysis Spell Checker 04938-004-0033001-02877Microsoft® Visual Studio® 2012 Code Analysis Spell CheckerVisual Studio 2012 SharePoint Developer Tools 04938-004-0033001-02877Microsoft Visual Studio 2012 SharePoint Developer ToolsASP.NET and Web Tools 2012.3.41009Microsoft Web Developer Tools contains the following components:Support for creating and opening ASP.NET web projectsBrowser Link: A communication channel between Visual Studio and browsersEditor extensions for HTML, CSS, and JavaScriptPage Inspector: Inspection tool for ASP.NET web projectsScaffolding: A framework for building and running code generatorsServer Explorer extensions for Windows Azure Web SitesWeb publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows AzureCrystal Reports for .NET Framework Crystal Reports for .NET FrameworkInfragistics Version Utility 1.0Infragistics.ColorTuner 1.0Infragistics.VSExtension 1.0JetBrains ReSharper Ultimate 2016.2.2 Build 106.0.20160913.91321NuGet Package Manager 2.8.60318.667PreEmptive Analytics Visualizer 1.0SQL Server Data Tools 11.1.50717.0Microsoft SQL Server Data ToolsStyleCop 4.7.54.0Windows Installer XML Toolset 3.10.3.3007Windows Installer XML Toolset version 3.10.3.3007XamlStylerVSPackage 1.0Xaml Styler.
I've reproduced the behavior, but it's only been happening with text editors using strings and integers. Checkboxes with Booleans don't seem to affected. I am currently in a discussion with my team to determine our next step of action. I will follow up early next week regarding my progress.
I am following up to inform you that I have created case for you with ID CAS-178178-S9B1G4 to discuss this further. You can reach your case following the link bellow:
https://ko.infragistics.com/my-account/support-activity I will update you via the mentioned case, so if you have any further questions or comments please update your case accordingly. Thanks.