|

September 8th, 2009, 02:54 PM
|
|
Friend of Wrox
|
|
Join Date: Jul 2003
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Microsoft JScript runtime error: 'this.get_element().style' is null or not an object.
Hi,
I am having a big problem to update controls (buttons inside the toolbar) on the Master page from inside my content page. I've put all controls on the Master page inside the UpdatePanel control. By clicking on one of the radiobuttons on my Content page I am disabling some of the buttons inside the toolbar on the Master page successfully. But when I try to go back to the previous state by clicking on the "Back" button on the Content page, I am getting the Error:
"Microsoft JScript runtime error: 'this.get_element().style' is null or not an object."
I am getting this error inside ScriptResource.axd read-only file on the function:
Code:
function Sys$UI$_UpdateProgress$_startRequest()
{
if (this._pageRequestManager.get_isInAsyncPostBack()) {
if (this._dynamicLayout) this.get_element().style.display = 'block';else this.get_element().style.visibility = 'visible';}
this._timerCookie = null;
}
I do have ProgressControl but on the Content Page, not on the Master Page.
What am I doing wrong and what is the proper way to accomplish what I am trying to do?
Any suggestions will be appreciated.
-Dmitriy
|