Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2007

Tip: Looking for answers? Try searching our database.

PropertyGrid and CollectionEditor events

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ST - 12 Oct 2007 04:24 GMT
Is there a way to create events in collection editor and have the
propertygrid registered for that event?  For example, CollectionEditor could
have an OnRemove event that fires when a user click on the Remove button.  
I'd like to know when this happens (per item based) so I could have the main
application do something (e.g. update the database).  

In another word, what is the best way to synch collection type data with the
database when the collection property is exposed via the propertygrid?

Any ideas is appreciated.
Robbe Morris - [MVP] C# - 12 Oct 2007 18:29 GMT
Check out the link below.  You may want to go a much simpler
route to enable you to handle much more complex requirements.

Signature

Robbe Morris [Microsoft MVP - Visual C#]
.NET PropertyGrid Control - ListBox, ComboBox, and Custom Classes
http://www.eggheadcafe.com/tutorials/aspnet/270e9432-d236-47e7-b1af-5cd3abe27a75
/net-propertygrid-control.aspx


> Is there a way to create events in collection editor and have the
> propertygrid registered for that event?  For example, CollectionEditor
[quoted text clipped - 9 lines]
>
> Any ideas is appreciated.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.