|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Cannot create an object of type 'System.Boolean'...?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 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 > 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 > > > > >
Other interesting topics
WAP, VS2005 keeps changing my user control types!!
Howto inherit from an exisiting webcontrol in VS 2005 CSS examples Intellisense with web.config registration of controls Page hang after updating web.config Help, NullReferenceException ASP.net using old version of DLLs Making New web site by using ASP.Net 2005 Multiple Page Tiff date in datagrid |
|||||||||||||||||||||||