|
Rank: Member Groups: Member
Joined: 5/20/2008 Posts: 12
|
I have solved the timing issue between MS Ajax components and EO components.
<asp:ScriptManager ID="ScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Path="/js/eo_fix.js" /> </Scripts> </asp:ScriptManager>
<file eo_fix.js>
<!-- Sys._ScriptLoader.getInstance()._loadScriptsInternal = function() { if (this._scriptsToLoad && this._scriptsToLoad.length > 0) { var nextScript = Array.dequeue(this._scriptsToLoad); var scriptElement = this._createScriptElement(nextScript); if (scriptElement.text && Sys.Browser.agent === Sys.Browser.Safari) { scriptElement.innerHTML = scriptElement.text; delete scriptElement.text; } if (typeof(nextScript.src) === "string") { this._currentTask = new Sys._ScriptLoaderTask(scriptElement, this._scriptLoadedDelegate); this._currentTask.execute(); } else { document.getElementsByTagName('head')[0].appendChild(scriptElement); Sys._ScriptLoader._clearScript(scriptElement); this._loadScriptsInternal(); } } else { var callback = this._allScriptsLoadedCallback; this._stopLoading(); if(callback) { callback(this); } } }
//-->
</file eo_fix.js>
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi, Thanks for sharing. We are aware of this code segment: http://weblogs.asp.net/infinitiesloop/archive/2008/04/30/flickering-ui-from-the-asp-net-ajax-toolkit-tabcontainer-while-in-an-updatepanel.aspxObviously for reasons that were discussed in that article, this code segment is deemed not necessary. However we do remember the TabStrip jumping issues you mentioned before. We will look into that again and see if we can associate them together. Thanks
|
|
Rank: Member Groups: Member
Joined: 5/20/2008 Posts: 12
|
Just Updated to Framework 3.5 SP1 and this is not required and will causes errors.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
We tested it on 3.5 SP1 and it seems to be working fine. Do you have a test page/project that can demonstrate the problem?
Thanks
|
|