Every time I try to save the value of the datepicker the value comes out null, I know that this happens to be inside an updatepanel, I have put the formview as AsyncPostBackTrigger, but still if I select the value. I also put the code from the server in C # but it does not work. I take the data from a SqlDatasource.
SCREEN
C#
protected void Persona_estudiosSqlDataSource_Inserting(object sender, SqlDataSourceCommandEventArgs e)
{
try
{
e.Command.Parameters[0].Value = Id_personaHiddenField.Value;
e.Command.Parameters[1].Value = ((DropDownList)CentroEstudiosFormView.FindControl("CentroestudiosDropDownList")).SelectedValue;
e.Command.Parameters[2].Value = ((Syncfusion.JavaScript.Web.DatePicker)CentroEstudiosFormView.FindControl("DesdeDatePicker")).Value;
e.Command.Parameters[3].Value = ((Syncfusion.JavaScript.Web.DatePicker)CentroEstudiosFormView.FindControl("HastaDatePicker")).Value;
}
catch (Exception ex)
{
ErrorMessage.Text = "Insertar centro de estudios: " + ex.Message;
}
}