Mar 06, 2009, 11:51 PM
AutoLoad Panel Populate Child Page Error
*Ok, here's what I'm trying to do:
I have a borderlayout on a main page. The west panel contains links that, on click, should load the center panel with a new child page. I'm using the center panel's autoload feature to accomplish this.
So far, so good. I have the center panel's autoload set to merge, the child page does not contain a "form" element, it does contain a scriptmanager and scriptcontainer (as recommended in these forums). The child page contains a panel element with text in its body.
The links load the center panel's content in javascript by calling the "load" method, passing in the url.
Now, the first time I click a link to load the center content, it works succesfully. However, if I click the same link again after the center content has been loaded, I get an error stating that "element is null".*
I have a borderlayout on a main page. The west panel contains links that, on click, should load the center panel with a new child page. I'm using the center panel's autoload feature to accomplish this.
So far, so good. I have the center panel's autoload set to merge, the child page does not contain a "form" element, it does contain a scriptmanager and scriptcontainer (as recommended in these forums). The child page contains a panel element with text in its body.
The links load the center panel's content in javascript by calling the "load" method, passing in the url.
Now, the first time I click a link to load the center content, it works succesfully. However, if I click the same link again after the center content has been loaded, I get an error stating that "element is null".*