You need to either:
1. derive your own class from that control you want to manipulate
2. use reflection to call those protected methods. Reflection allows
you to call even private members of classes. Pretty powerful stuff.
---
Regards,
Roy Osherove
www.iserializable.com
On Fri, 7 Nov 2003 19:05:33 -0800, "Andrew Chen" <ne*****@hotmail.com>
wrote:
How do you simulate an action on a Control, such as
clicking a row header, by calling a function that is
protected inside a class (i.e. protected void
OnRowHeaderClicked(...))?