我正在尝试显示此部分
<tr>
<div id="contact" class="uniForm" style="visibility: hidden; display: none;">
<fieldset class="blockLabels">
<legend style="font-size: 10pt;">Contacts</legend>
<div class="ctrlHolder">
<%= this.strContactInfo%>
</div>
</fieldset>
</div>
</tr>
仅当满足此条件时:
if (iStatus == 2)
{
lblAccessError2.Text = "Failure. ";
Page.ClientScript.RegisterStartupScript(this.GetType(), "clientscript1", "document.getElementById('contact').style.visibility = 'visible';", true);
ModalPopupExtender1.Show();
}