Z
zhuang
When we drag and drop any server control from toolbox to web form, the
relevant control is added to code-behind automatically with access
level to be protected.
When we drag and drop a user control to a web form, if we want to use
that user control in code-behind, then we need to declare it to be
protected as well, otherwise it will not work properly, why???
I never pay attention to this untill I start to work with user control.
Thanks
zhuang
relevant control is added to code-behind automatically with access
level to be protected.
When we drag and drop a user control to a web form, if we want to use
that user control in code-behind, then we need to declare it to be
protected as well, otherwise it will not work properly, why???
I never pay attention to this untill I start to work with user control.
Thanks
zhuang