.vb:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
DropDownList1.Attributes.Add("onchange", "HaddlesDropDownList(this);")
Button1.Attributes.Add("onclick", "HaddlesButton();")
End If
End Sub