
29/11/2005, 09:30
|
| | Fecha de Ingreso: noviembre-2005
Mensajes: 14
Antigüedad: 19 años, 3 meses Puntos: 0 | |
gracias andres95
mira este pante lo pongo en el grid y lo invoco en el metodo pero nunca lo reconoce no ingresa alli
<ItemTemplate>
<asp:DropDownList id="cboestadoCarne" runat="server" OnSelectedIndexChanged="CambioEnComBoBox"
AutoPostBack="True"></asp:DropDownList>
</ItemTemplate>
public void CambioEnComBoBox(object sender, System.EventArgs e)
{
DropDownList list = (DropDownList)sender;
TableCell cell = list.Parent as TableCell;
DataGridItem item = cell.Parent as DataGridItem;
/************ Valor seleccionado *******************/
string content = item.Cells[5].Text;
/************ Valor seleccionado *******************/
} |