How to get PropertyValueChanged from a Collection editor?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Michael Kairys (michael-nospam_at_sl.com)
Date: 03/21/05


Date: Mon, 21 Mar 2005 09:41:27 -0500

I have seen this problem posed several times in these newsgroups but I have
not seen a solution!

I am hosting a PropertyGrid in a dialog in a runtime application and giving
it one of my application objects. I am subscribing to PropertyValueChanged
and using it to know when to save the state of my object. One of the
object's properties is a Stringcollection for which the PropertyGrid invokes
the default colleciton editor.

The problem is that changing the collection contents in the collection
editor does not cause the property grid to raise PropertyValueChanged for
the collection property, and I have no way to know the property has changed
and I must take appropriate action.

This is a show-stopper problem for us. Has anyone found a solution?

-- 
Michael Kairys
SL Corporation 


Relevant Pages

  • Re: Instructions for setting up Full Text Search
    ... Dustin Miller [MVP] ... Training, Development, Add-ons and Hosting - www.sharepointexperts.com ... Please reply in the newsgroups so everyone can benefit from the exchange! ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Modifying dispform.aspx
    ... Training, Development, Add-ons and Hosting - www.sharepointexperts.com ... Please reply in the newsgroups so everyone can benefit from the exchange! ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: -- VIRUS ALERT-- Re: Nick Berg Execution nickbergexecution video
    ... > Sorry to be sending this to so many newsgroups, but the only way to get ... > rid of spammers, especially persistent spammers like the present one, ... http://www.angelhosts.com E-mail Hosting, Domain Names, PHP Forum Hosting ...
    (comp.lang.java)
  • Re: Why User see content, they have no access and get error massages every time ?
    ... Dustin Miller [MVP] ... Training, Development, Add-ons and Hosting - www.sharepointexperts.com ... Please reply in the newsgroups so everyone can benefit from the exchange! ...
    (microsoft.public.sharepoint.windowsservices)