J
Jose Fernandez
Hello
I have a class named X (that inherits from INamingContainer y WebControl).
This class loads a userWebControl.ascx and add it to the controls in my
page. Well, this control has a Property. It looks like this
<Web:MiControl Color="red" id="ventana1" runat=server />
Color is the property that i need to capture in my Class X. I know how to
get the objects inside the ascx using the FindControl method, but i don't
have a clue at all on how to retrieve the Color Property from this ascx
(that lacks of .cs 'cause i am working with my Class X its inner controls)
Can anybody help me?
I have a class named X (that inherits from INamingContainer y WebControl).
This class loads a userWebControl.ascx and add it to the controls in my
page. Well, this control has a Property. It looks like this
<Web:MiControl Color="red" id="ventana1" runat=server />
Color is the property that i need to capture in my Class X. I know how to
get the objects inside the ascx using the FindControl method, but i don't
have a clue at all on how to retrieve the Color Property from this ascx
(that lacks of .cs 'cause i am working with my Class X its inner controls)
Can anybody help me?