Our current ASP.NET WebForms site relies on Microsoft Edge to function properly due to the way numerous links open in popup windows. Although a complete rewrite is necessary, this project has not yet been allocated resources for approval.
Recently, I discovered how to utilize a timer to update Page 1 whenever a dialog from Page 2 triggers a third dialog on Page 3, which then sets a Session variable that Page 1 monitors.
This snippet shows my implementation on Page 1:
<form id="Form1" method="post" runat="server">
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function () {
setTimeout(function () {
var csrWhere = '<%=Session("csrWhere")%>'
if (csrWhere != '') {
alert(csrWhere);
location.reload();
}
}, 200);
});
</script>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
However, I encountered an issue where Developer Tools opens as expected but displays a blank page:
https://i.sstatic.net/KPEEgsKG.png
In contrast, performing the same action on another PC with the same browser reveals that Developer Tools functions normally:
https://i.sstatic.net/WiZkSKrw.png
The anomaly perplexes our two developers as they suspect it may be caused by outdated third-party DLLs like Telerik or an older JavaScript library used in the website project.
If anyone can provide insight into what might be impeding Developer Tools, it would be greatly appreciated.
Update
After inspecting the Web.config file, I found the following section:
<authorization>
<allow roles="VistaUser" />
<deny users="*" />
</authorization>
I am considering whether granting access to the Visual Studio Debugger role could resolve the issue. However, I need to confirm the role's exact name before testing this theory.