Home All Groups Group Topic Archive Search About

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

Author
6 Sep 2006 1:19 PM
Asaf
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

Author
6 Sep 2006 3:26 PM
George Ter-Saakov
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



Show quoteHide quote
"Asaf" <AG70@newsgroups.nospam> wrote in message
news:586B60E8-D79F-4C2D-8A68-99FCDC0F75FB@microsoft.com...
> 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
>
Are all your drivers up to date? click for free checkup

Author
6 Sep 2006 7:37 PM
Asaf
Thanks for your help Geroge.

Regards,
Asaf

Show quoteHide quote
"George Ter-Saakov" wrote:

> 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
>
>
>
> "Asaf" <AG70@newsgroups.nospam> wrote in message
> news:586B60E8-D79F-4C2D-8A68-99FCDC0F75FB@microsoft.com...
> > 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
> >
>
>
>

Bookmark and Share