Mostrando entradas con la etiqueta grayed button disable .net imagebutton. Mostrar todas las entradas
Mostrando entradas con la etiqueta grayed button disable .net imagebutton. Mostrar todas las entradas

viernes, 5 de diciembre de 2008

deshabilitar boton de imagen y "grisarlo" en asp.net

Private Sub deshabilitarBoton(ByVal img As ImageButton, ByVal habilitado As Boolean)
img.Enabled = habilitado
img.Style.Clear()
If Not habilitado Then
img.Style.Add("filter", "alpha(opacity=30)")
End If
End Sub