asp:checkbox can't be displayed in InnerHtml

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mike Jan
    New Member
    • Aug 2010
    • 1

    asp:checkbox can't be displayed in InnerHtml

    In the Page_Load, I dynamically assign a string which contians asp:checkbox to a InnerHtml.
    But the checkbox does not display on the page after the page loaded.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Consider assigning the String to the checkbox.Text property instead of using the InnerHtml.

    -Frinny

    Comment

    Working...