473,322 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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

Sep 6 '06 #1
2 5570
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" <AG**@newsgroups.nospamwrote in message
news:58**********************************@microsof t.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

Sep 6 '06 #2
Thanks for your help Geroge.

Regards,
Asaf

"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" <AG**@newsgroups.nospamwrote in message
news:58**********************************@microsof t.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


Sep 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Wayne Brantley | last post by:
I have found what appears to be an error in streaming with Datasets. It causes an error of 'Cannot find relation 0' when recreating the dataset from a stream. Here is how you reproduce it. ...
2
by: Junsan | last post by:
When I am trying to create users through the ASP.NET Configuration in Visual Studio I am getting the following Error (I got the final version of Visual Studio): Exception has been thrown by the...
0
by: Luqman | last post by:
I have copied the following code from Internet, and copied it to a file named : test.aspx, and copied that file to c:\Inetpub\wwwroot Directory. When I type on my Internet explorer:...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
2
by: paul.dunstone | last post by:
HI all I am using msbuild to compile my web application project. After building the solution I get the following error message: Server Error in '/Community' Application....
5
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I am unable to execute the following statement in my current project. The class PosExplorer is in a dll file (created by Microsoft). PosExplorer explorer = new PosExplorer() but now I get this...
0
by: Tifer | last post by:
Hello, I am building my first .Net Application. The first couple of Publish and Installs I did went fine. But after a couple of builds, I get a modal dialogue box error every time upon trying...
0
by: yukijocelyn | last post by:
I have experienced a problem here while doing a form for accessing datadbase using MS Access. I'm using the AccessDataSource control, and using Gridview to pull the data from the database. I am able...
0
by: Pablo.Mazaeda | last post by:
Hello, I am getting the following error when opening a form with customs controls objects in Visual Studio 2005 environment. I assume it is a version problem or something. Any solution? ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.