Checkbox returns string "Null" after post

I have a checkbox as following in my View:

@using (Html.BeginForm())
{
    @Html.EJ().CheckBox("chkVerified").Text("Verified Document?")
    

}

And here is my Action to handle Submit (Post)

        [HttpPost]
        public ActionResult Index(FormCollection form)
        {
            ViewBag.Start = form["chkVerified"];
            return View();
        }

If the checkbox is unchecked and submitted, the value of form["chkVerified"] is "false"(string), which is good.
However, if the checkbox is checked and submitted, the value of form["chkVerified"] is "null"(string), which is weird because it used to return value "true"(string) in older versions.

This behavior is suddenly introduced to me ever since I installed the latest 15.4.0.17 and it's breaking all of my forms that use the checkbox.
If I rollback my project to the older version (e.g. 15.2.0.46), everything goes back to the way it was.

Am I missing some steps after installing the new version to make it work properly?




1 Reply

PK Prem Kumar Madhan Raj Syncfusion Team December 26, 2017 06:52 AM UTC

Hi Andrew, 
  
Thanks for contacting Syncfusion support. 
  
We have created a separate incident for this query. Please follow the incident for further assistance. Please check the below link.  
  
Regards, 
Prem Kumar. M  
  


Loader.
Up arrow icon