Answer to Question #15071 in ASP | ASP.NET for ramkumar palani
function HideActionPanel() {
var sessionValue = '<%= Session["CustomerID"] %>';
if (sessionValue != 0) {
$find('<%=TabContainer1.ClientID %>')._tabs[0]._show();
$find('<%=TabContainer1.ClientID %>').get_tabs()[0].set_enabled(true);
var fullname = '<%= Session["FullName"] %>';
document.getElementById('<%=labelforusername.ClientID %>').style.visibility = 'visible';
document.getElementById('<%=Labelfullname.ClientID %>').innerHTML = 'hello';
document.getElementById('<%=alreadylogin.ClientID %>').style.visibility = 'hidden';
}
else {
$find('<%=TabContainer1.ClientID %>').get_tabs()[1].set_enabled(false);
}
}
Myerror:
document.getElementById("ContentPlaceHolder1_TabContainer1_tbpnluser_labelforusername") is null
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
ASP.net
Comments
Leave a comment