1
Vote

Cannot disable the control on firefox

description

I am not able to disable this timepicker in firefox only, works well in IE.
 
TimeSelector1.Enabled = False
 
        For Each ctr As Control In TimeSelector1.Controls
            If TypeOf ctr Is TextBox Then
                CType(ctr, TextBox).Style.Add("disabled", "disabled")
                CType(ctr, TextBox).Enabled = False
            End If
        Next

comments