HtmlButton

  • Thread starter Thread starter Anita C
  • Start date Start date
A

Anita C

Hi,
I have an htmlinputbutton on a webform, which i want to disable /enable
using code in the code behind file. How do I access the said button in the
code behind ?
Thanks.
 
VB.NET

Protected WithEvents Button1 As System.Web.UI.WebControls.Button

Button1.Enabled = False
 
Back
Top