Home Account Search

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

Hi ,

In asp.net 2.0

"<input id="radAllFields"  checked="checked" runat="server" />"

I am getting the following error message Cannot create an object of type 'System.Boolean' from its string representation 'checked' for the 'Checked' property. Can anyone help me to solve this?

Solutation:

Radiobutton checked property accepts only Boolean values

It may be Checked=True or Checked=False

I hope this will help you

 

Comments are locked for this post.