This is using 2009Q3 Rad Ajax., .NET Framework 2 in Visual Studio 2005. I have a RadWindow, and it it's content template it has a Rad Progress Area. In the OnClientProgressStarted even of the Progress Manager it calls the following JavaScript. The Javascript writes a title into the Progress Bar's Top Panel, Disables some tabs in the Radtabstrip and then shows and centers the Rad Window. It works great in IE8, but in IE6 the screen gets disabled but the rad window never appears. Attached are two screen captures demonstrating this.
function progressStarted(radProgressManager) { |
var container = document.getElementById('usrAddBatch_RadWindow1_C_RadProgressArea1_Panel'); |
var new_element = document.createElement('h2'); |
new_element.innerHTML = 'Creating Renewals'; |
new_element.setAttribute("class", "clsLoadHeader"); //For Most Browsers |
new_element.setAttribute("className", "clsLoadHeader"); //For IE; harmless to other browsers. |
if (container) |
{ |
container.insertBefore(new_element, container.firstChild); |
} |
//Disable the tabs while we are processing renewals |
var tabStrip = $find("Radtabstrip1"); |
if (tabStrip) |
{ |
for (x = 0; x < tabStrip.get_tabs().get_count(); x++) |
{ |
tabStrip.get_tabs().getTab(x).set_enabled(false); |
} |
} |
// Show the rad window |
var radWindow = $find("usrAddBatch_RadWindow1"); |
if (radWindow) { |
radWindow.show(); |
radWindow.center(); |
radWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.None); |
radWindow.set_visibleStatusbar(false); |
radWindow.set_visibleTitlebar(false); |
radWindow.set_modal(true); |
} |
} |
<telerik:RadWindow ID="RadWindow1" |
EnableEmbeddedSkins="false" |
runat="server" |
VisibleOnPageLoad="false" |
Width="448" |
Height="208"> |
<ContentTemplate> |
<telerik:RadProgressArea style="margin-left:auto;margin-right:0px;" |
ID="RadProgressArea1" |
runat="server" |
Height="58px" |
ProgressIndicators="TotalProgressBar, TotalProgressPercent, TimeElapsed" |
Skin="Office2007" > |
<Localization Uploaded="Completed" /> |
</telerik:RadProgressArea> |
</ContentTemplate> |
</telerik:RadWindow> |
<telerik:RadProgressManager OnClientProgressStarted="progressStarted" ID="RadProgressManager1" runat="server" /> |