If Not IsPostBack Then Menu1.Focus() Call MenuEnabling() End If
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If varmode = 2 And varmodefor = "CreateActivity" Then varmode = 2 Else varmode = 1 End If If Not IsPostBack Then If varmode = 1 Then btnDelete.Visible = False Call fnPersons() txtSubject.Focus() ElseIf varmode = 2 Then btnDelete.Visible = False Call fnPersons() Call fnActivityDetails(varActivityID) txtSubject.Focus() End If End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)