I have an Asp.net page. It's basically a Calendar.
The calendar frame is created with the <table> tag in the codebehind.
some of the cells are named ie. <td name="cell1" id="cell1>
during each postback, the program figures out which cells are to be displayed. By editing the display parameter.
document.getEle mentById('cell1 ').style.displa y = 'None';
Everything. Works fine on the postbacks, but not on the first load.
Infact, if I try to read any element using getElementById on the first load, I get nothing.
This page is Ajax enabled so for the client side registration I am using
ScriptManager.R egisterClientSc riptBlock()
Is there a step that I am missing?
The calendar frame is created with the <table> tag in the codebehind.
some of the cells are named ie. <td name="cell1" id="cell1>
during each postback, the program figures out which cells are to be displayed. By editing the display parameter.
document.getEle mentById('cell1 ').style.displa y = 'None';
Everything. Works fine on the postbacks, but not on the first load.
Infact, if I try to read any element using getElementById on the first load, I get nothing.
This page is Ajax enabled so for the client side registration I am using
ScriptManager.R egisterClientSc riptBlock()
Is there a step that I am missing?
Comment