protected void grdGestionUsuarios_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item.IsInEditMode)
{
GridEditableItem item = (GridEditableItem)e.Item;
if (!(e.Item is IGridInsertItem))
{
(item["NB_USUARIO"].Controls[0] as TextBox).ReadOnly = true;
}
}
}
No hay comentarios.:
Publicar un comentario