1
Answer

Uncaught TypeError: Cannot read properties of null (reading 'style')

Jagjit Saini

Jagjit Saini

2y
1.2k
1

Hi

  ON below lines i am getting error - SessionCalendar?val=pf3PhExuzManZipk3dVzCw==&MID=YYTSSp8JRhWrxb4HWlEyXA==:565 Uncaught TypeError: Cannot read properties of null (reading 'style')
    at BindData (SessionCalendar?val=pf3PhExuzManZipk3dVzCw==&MID=YYTSSp8JRhWrxb4HWlEyXA==:565:55)
    at HTMLAnchorElement.onclick (SessionCalendar?val=pf3PhExuzManZipk3dVzCw==&MID=YYTSSp8JRhWrxb4HWlEyXA==:331:2479)

             document.getElementById('<%=lnkUpdateRecord.ClientID %>').style.visibility = "";

Thanks

Answers (1)