Hi,
I have created a custom Validator component which implemented the IExtenderProvider. And I have added UltraGridColumn to return true in the CanExtend.
However, when I add my custom validator to a form in which there is a UltraWinGrid, the validator's properties are not appear in the UltraWinGrid's column (Columns Collection Editor).
May I know is this doable? How can I achieve that?
Thank you very much.
Thanks Mike,
The URL you provided was a great guildance for me. However, I still not able to extend my extended properties into UltraGridColumn (sub-object for UltraGrid) like what you have mentioned in your last post.
Anyway, appreciate the effort you have spent in helping. I will use other approach to achieve what I want. Thanks again. :)
Best Regards,
I'm not sure if this will do what you want, but you might want to look into Extension Methods (C# Programming Guide).
Hi Mike,
Thanks for your reply. Yup, you are right, that's what I found out from the net as well, just wondering is there any other way to make it work on sub-object. Anyway, I will find other way or approach for my user control, thanks again. :)
I don't beleive this will work. Extender properties, as far I am aware, only look at the controls and components in the form designer. You can't apply an Extender to a sub-object which is part of a control.