Showing posts with label decided. Show all posts
Showing posts with label decided. Show all posts

Wednesday, March 28, 2012

UpdateProgress...animated GIF just stops...any ideas?

Since this post (http://forums.asp.net/thread/1469416.aspx) shows as resolved, I've decided to open a new post since I am having a problem with it. My animated GIF just stops. Has anyone ever had this issue? Ever been resolved?

Thanks!

Hi brenda

What do you mean by stops, does it not animate or does is not display at all? Did you try doing this?

<atlas:UpdateProgress ID="progress1" runat="server">
<ProgressTemplate>
<div class="progress">
<img src="http://pics.10026.com/?src=indicator.gif" />
Please Wait...
</div>
</ProgressTemplate>
</atlas:UpdateProgress>

Well this really works if you have your indicator.gif to be animated. Try this out and tell me if what I've understood from your problem is correct.

Thanks


This is my code I have so far, but the animated GIF just freezes. Is this inevitable because the page is rendering?

<

divstyle="float: right; color: #6870A4; font-family: Verdana, Tahoma, Arial; font-size: 11px;">
<asp:UpdateProgressID="UpdateProgress1"runat="server"DynamicLayout="true"DisplayAfter="0">
<ProgressTemplate>
<table>
<tr>
<td>
Loading Property -- Please Wait </td><td>
<imgstyle="padding-right: 10px;"src="../../images/ajax-loader.gif"alt="loading"/></td>
</tr>
</table>
</ProgressTemplate>
</asp:UpdateProgress>
</div>
If your code is causing the page to load, the .gif will stop animating. The UpdateProgess control is designed to be used in parallel with an UpdatePanel. In this scenario the page updates without the page actually loading.

Saturday, March 24, 2012

Upgrading to CTP / ASP.net Ajax

hey guy,

finally i decided to upgrade my ajax framework to the most recent one and i notice some errors which i havn't recieve beofer the upgrade. can someone give a hand here? i really need to resolve those problems ASAP.

this first problem that i'm getting is document.body is null or not an object (the debugger stops in this line):

AjaxControlToolkit._CommonToolkitScripts = function() { /// /// The _CommonToolkitScripts class contains functionality utilized across a number /// of controls (but not universally) /// // Populate the borderThicknesses lookup table this._borderThicknesses = { }; var div0 = document.createElement('div'); var div1 = document.createElement('div'); div0.style.visibility = 'hidden'; div0.style.position = 'absolute'; div0.style.fontSize = '1px'; div1.style.height = '0px'; div1.style.overflow = 'hidden';document.body.appendChild(div0).appendChild(div1);

and the second one is commontoolscripts is null or not an object:

AjaxControlToolkit.ModalPopupBehavior.callBaseMethod(this, 'initialize'); this._foregroundElement = $get(this._PopupControlID); this._backgroundElement = document.createElement('div'); this._backgroundElement.style.display = 'none'; this._backgroundElement.style.position = 'absolute'; // Want zIndex to big enough that the background sits above everything else // CSS 2.1 defines no bounds for the type, so pick arbitrarily this._backgroundElement.style.zIndex = 10000; if (this._BackgroundCssClass) { this._backgroundElement.className = this._BackgroundCssClass; } this._foregroundElement.parentNode.appendChild(this._backgroundElement); this._foregroundElement.style.display = 'none'; this._foregroundElement.style.position = 'absolute'; this._foregroundElement.style.zIndex =CommonToolkitScripts.getCurrentStyle(this._backgroundElement, 'zIndex', this._backgroundElement.style.zIndex) + 1;

thanks,

ori

Did you move to AJAX RC ? Did you move from Beta 2 or CTP ? Use following document

CTP to RC

http://ajax.asp.net/files/Migration_Guide_CTP_to_RC.aspx

Beta 2 to RC

http://ajax.asp.net/files/Migration_Guide_Beta2_to_RC.aspx