Cannot create an object of type 'System.Boolean'...?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have placed some HTML Input (Radio) controls on my ASP.NET page using
VS.NET 2005.
After I have set these controls to "Run as server control" and try to run my
page I am receiving the error:

"Cannot create an object of type 'System.Boolean' from its string
representation 'checked' for the 'Checked' property."


Thanks in Advanced for any help,
Asaf
 
Look in your HTML it should be something like

<input type="radio" runat=server checked=1>

I believe you only have checked there without assigning 1 to it.

George
 
Thanks for your help Geroge.

Regards,
Asaf

George Ter-Saakov said:
Look in your HTML it should be something like

<input type="radio" runat=server checked=1>

I believe you only have checked there without assigning 1 to it.

George
 
Back
Top