
AjaxToolKit CalendarExtended
Publicado por Tony (1 intervención) el 02/06/2016 22:28:28
Saludos a todos, tengo un problema al utilizar el CalendarExtended, el TextBox al que está relacionado no devuelve el valor seleccionado a pesar de que este se muestra en el texto.
El texto está con el valor asignado inicialmente desde una GridView
protected void grvProgramacion_SelectedIndexChanged(object sender, EventArgs e)
{
pnlFecha.Visible = true;
txtFecha.Text = grvProgramacion.Rows[grvProgramacion.SelectedIndex].Cells[1].Text;
}
y la actualizacion la quiero hacer al evento click de un boton
protected void btnActualizar_Click(object sender, ImageClickEventArgs e)
{
grvProgramacion.Rows[grvProgramacion.SelectedIndex].Cells[1].Text = txtFecha.Text.ToString();
dtProgramacion.Rows[grvProgramacion.SelectedIndex]["Fecha"] = DateTime.Parse(txtFecha.Text);
pnlFecha.Visible = false;
}
Por favor ayudenme!!!!!
El texto está con el valor asignado inicialmente desde una GridView
protected void grvProgramacion_SelectedIndexChanged(object sender, EventArgs e)
{
pnlFecha.Visible = true;
txtFecha.Text = grvProgramacion.Rows[grvProgramacion.SelectedIndex].Cells[1].Text;
}
y la actualizacion la quiero hacer al evento click de un boton
protected void btnActualizar_Click(object sender, ImageClickEventArgs e)
{
grvProgramacion.Rows[grvProgramacion.SelectedIndex].Cells[1].Text = txtFecha.Text.ToString();
dtProgramacion.Rows[grvProgramacion.SelectedIndex]["Fecha"] = DateTime.Parse(txtFecha.Text);
pnlFecha.Visible = false;
}
Por favor ayudenme!!!!!
Valora esta pregunta


0