ParseControl Problem

Results 1 to 2 of 2

Thread: ParseControl Problem

  1. #1
    Join Date
    Dec 1969

    Default ParseControl Problem

    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("&#060;asp:label runat=\"server\"&#062;LABEL&#060;/asp:label&#062;");<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> Thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: ParseControl Problem

    you are missing the ID tag for your label.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts