GreyBox - Progress bar not updating

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

GreyBox - Progress bar not updating

Fruitbat
I am trying to use the greybox extension but am having a few issues. They seem to be down to the normalInProgress item not beeing rendered.

progress.js

134: var id = srcElem.getAttribute('id');
135: var destElem = document.getElementById(id);

destElem is null when looking for 'normalInProgress'. If I add a div with that is the text renders but the progress bar doesn't update its progress even though the text does.

Progress.aspx

<Upload:DetailsSpan id="normalInProgress" runat="server" WhenStatus="NormalInProgress" style="font-weight: normal; white-space: nowrap;">
                                        <%# FormatCount(BytesRead) %>/<%# FormatCount(BytesTotal) %> <%# CountUnits %>
                                        (<%# String.Format("{0:0%}", FractionComplete) %>) at <%# FormatRate(BytesPerSec) %>
                                        - <%# FormatTimeSpan(TimeRemaining) %> left
                                </Upload:DetailsSpan>
<div id="normalInProgress"></div> 
Loading...