hi
i have this code:
if (!Page.IsPostBack)
{
foreach (var cb in form1.Controls)
{
functioin(((CheckBox)cb));
}
}
but it causes this error:
Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.CheckBox'
Go to the complete details ...