K
Krister Kauppi
What is the optimal way to create a webcontrol? Is it in the aspx-page
or in the code-behind (A or B)?
A. <asp:TextBox id="Test" runat="Server" />
OR
B. Dim Test AS new WebControls.TextBox
Test.ID = "Test"
Page.Controls.Add(Test)
Regards
Krister
or in the code-behind (A or B)?
A. <asp:TextBox id="Test" runat="Server" />
OR
B. Dim Test AS new WebControls.TextBox
Test.ID = "Test"
Page.Controls.Add(Test)
Regards
Krister