Author: ctaswell | Posted on: 6/10/2008 10:08:28 AM | Views : 985

I've written a web user control (*.ascx) with a separate codefile that has declared public properties corresonding to the attributes of the web user control.

However, the public properties are NOT being set by the attributes declared in the calling web user control. (I have proven that the code in the codefile does work by manually setting defaults for the public properties in the codefile, and manually changing those defaults, etc, and seeing the correct results. So the only problem is that the value declared in the attribute is NOT being passed to the code behind in the codefile.) Note that this is a nested web user control, ie, a web user control called within another web user control.

 Is this a known bug? If not, what special coding is required to make it work correctly?
...

Go to the complete details ...