le scrollbar de ma page disparait
Salut,
J'ai utilisé une fonction javascript mais ça m'a causé la disparition du scrollbar ma page.aspx . Voici la fonction:
Code:
1 2 3 4 5 6 7 8 9 10 11
| <script type = "text/javascript">
var EmptyDataText = "Pas d'enregistrements à afficher"
function ShowEmptyDataHeader() {
var Grid = document.getElementById("<%=GridView1.ClientID%>");
var cell = Grid.getElementsByTagName("TD")[0];
if (cell != null && cell.innerHTML == EmptyDataText) {
document.getElementById("dvHeader").style.display = "block";
}
}
window.onload = ShowEmptyDataHeader;
</script> |
Comment je peut résourdre ce problème :calim2: ?