Answer to Question #15071 in ASP | ASP.NET for ramkumar palani

Question #15071
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
Expert's answer

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS