I have created a user control which exposes a custom type property called SoftwareItem. The page where I have placed this user control has a page property of the same type. I cannot figure out how to pass the page’s property to the user control. I understand that this can be done in the code_behind but wanted to set the property declaratively to avoid view state issues with setting this property in the code behind.
I have created a user control which exposes a custom type property called SoftwareItem.
Share
In the code behind for the user control, do you have the property defined as the custom type?
As in: