I am still having a problem after doing the following. I created a small panel on the page which contributes JavaScript that I want to be updated when AjaxButton is clicked. However, when AjaxButton is clicked I get the following error in Firefox: "attempt to run compile-and-go script on a cleared scope"
Ajax-updating panel's JavaScript, e.g. jQuery UI, which depend on JavaScript scripts loaded by the parent page, e.g. jQuery Core, causes this problem. If I ajax-update the entire top page - everything works fine. I'd appreciate any thoughts on this. Thanks, Alec On Sun, Oct 30, 2011 at 7:19 PM, Alec Swan <[email protected]> wrote: > Hello, > > I have a page which implements IHeaderContributor and injects CSS in > #renderHead(response). I would like to be able to update the CSS > injected when the user clicks an ajaxButton on the page. How can I add > page header to AjaxRequestTarget? > > Thanks, > > Alec > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
