471,337 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Help Using CollectionBase OnSet and OnSetComplete

Hi

I have a class that inherits CollectionBase - now what I want is to be able
to validate data when it is updated in the List (I need to make sure that
certain values are not duplicates) so I thought I could override the OnSet
and OnSetComplete functions but they never seem to get called.

Note though that the data is being populated in a PropertyGrid using the
Collection Editor UITypeEditor...

Whats the best way of going about using the OnSet and OnSetComplete
functions...

Thanks
Graeme

Aug 7 '08 #1
1 1209
Hi

I have worked out that it is the PropertyGrid and CollectionEditor causing
the problem so I'm looking into that now

Thanks
Graeme

"graeme gorman" <graeme[remove_this].go****@gmail.comwrote in message
news:7B**********************************@microsof t.com...
Hi

I have a class that inherits CollectionBase - now what I want is to be
able to validate data when it is updated in the List (I need to make sure
that certain values are not duplicates) so I thought I could override the
OnSet and OnSetComplete functions but they never seem to get called.

Note though that the data is being populated in a PropertyGrid using the
Collection Editor UITypeEditor...

Whats the best way of going about using the OnSet and OnSetComplete
functions...

Thanks
Graeme
Aug 7 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Shannon Richards | last post: by
1 post views Thread by hromberg | last post: by
3 posts views Thread by Shannon Richards | last post: by
4 posts views Thread by Tarun Mistry | last post: by
8 posts views Thread by julia_beresford | last post: by
3 posts views Thread by Tony | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.