ParseControl Problem

lilliemanila

New Member
Hi All,<BR>I have written a simple example which has a web form and in Page_Load method contains below lines:<BR> <BR> Control c = ParseControl("<asp:label runat=\"server\">LABEL</asp:label>");<BR> Controls.Add(c);<BR><BR>Then I received the below Error Message:<BR><BR> The Null value refernced, where an object required.<BR><BR>Please Help me about this problem.<BR> Thanksyou are missing the ID tag for your label.
 
Back
Top