or
parent.header.RadToolbar1.DisableButton("Button");function checkPasswordMatch() { var text1 = $find("<%=PasswordInput1.ClientID %>").get_textBoxValue(); var text2 = $find("<%=PasswordInput2.ClientID %>").get_textBoxValue(); if (text2 == "") { $get("PasswordRepeatedIndicator").innerHTML = ""; $get("PasswordRepeatedIndicator").className = "Base L0"; } else if (text1 == text2) { $get("PasswordRepeatedIndicator").innerHTML = "Match"; $get("PasswordRepeatedIndicator").className = "Base L5"; } else { $get("PasswordRepeatedIndicator").innerHTML = "No match"; $get("PasswordRepeatedIndicator").className = "Base L1"; } }Protected Sub myRadGridList_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles myRadGridList.NeedDataSource Dim Count As Integer = 0 Dim sqlwhere As String = "" GetSrpId() sql = "Select strssn, strFullname, strRank, strPMOS, Convert(varchar(10), strdob, 111) strDob from MnNgPersonnel.dbo.tblMNNatPersonnel Where strRECPREC = '99999999' and strRECSTAT <> 'M' AND " _ & "(strUIC = '" & HFID.Value & "' or strAttchUIC = '" & HFID.Value & "') and (strSSN Not IN (Select strssn from tblUnitSRPPersonnelHist where intSRpId = " & HFRID.Value & " and dtExpire > " _ & "GETDATE() and bitActive = 1) OR strSSN Not IN (Select strssn from tblUnitSRPPersonnelHist where intSRpId = " & HFAID.Value & " and dtExpire > GETDATE() and bitActive = 1)) " & sqlwhere & "" myRadGridList.DataSource = getData(sql) Count = myRadGridList.MasterTableView.Items.Count tbAnnual.HeaderText = "Annual Reviews (" & Count & ")" pnlGrid.Visible = True End Sub