Hello,
I have created a class that creates controls at runtime by using
"this.Controls.Add(ctrlName);"
while this works fine in normal aspx page it doesn't create the control if the code is a class. The class compiles OK and methods that don't create any controls work fine. How can I add controls that are created by a class to the webpage?
help!
NEil
I have created a class that creates controls at runtime by using
"this.Controls.Add(ctrlName);"
while this works fine in normal aspx page it doesn't create the control if the code is a class. The class compiles OK and methods that don't create any controls work fine. How can I add controls that are created by a class to the webpage?
help!
NEil