Posted 28 August 2019, 6:32 am EST - Updated 29 September 2022, 1:51 am EST
Hi, i’m using FlexGrid and bind with FlexGridBatchEdit to do record update, but because some reason it throw exception below. think it’s because some property has invalid value.
is there any public function to allow us to get more detail (which property cause the exception, what is invalid value) or allow us to customize this exceptioin?
Message: The json text read is empty.
Stack Trace:
at C1.JsonNet.JsonReader.#Y6k()
at C1.JsonNet.JsonReader.ReadValue(Type type)
at C1.JsonNet.JsonHelper.DeserializeObject(String strJson, Type type, JsonSetting js)
at C1.Web.Mvc.C1JsonRequestModelBinder.DeserializeModel(String text, Type modelType)
at C1.Web.Mvc.ModelBinderBase.BindModel(String #yb, String #c4k, Type #d4k, ModelStateDictionary #e4k, Object& #3Yg)
at C1.Web.Mvc.ModelBinderBase.BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
at System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor)
at System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__19(AsyncCallback asyncCallback, Object asyncState)