T
T Samualson
I am programmatically adding controls to my user control but my skin is not
being applied to the control.
The code gets executed in a btn_Click event. I have tried specifically
setting the skinId property with no luck.
Any ideas?
Here is my simplified code:
TextBox newTextBox = new TextBox();
TextBoxPlaceHolder.Controls.Add(new TextBox());
And my skin:
<asp:TextBox runat="server" Style="background-color:lightblue;"
Visible="true" Text=""/>
being applied to the control.
The code gets executed in a btn_Click event. I have tried specifically
setting the skinId property with no luck.
Any ideas?
Here is my simplified code:
TextBox newTextBox = new TextBox();
TextBoxPlaceHolder.Controls.Add(new TextBox());
And my skin:
<asp:TextBox runat="server" Style="background-color:lightblue;"
Visible="true" Text=""/>