This is a migrated thread and some comments may be shown as answers.

Rad progress area

0 Answers 122 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
p
Top achievements
Rank 1
p asked on 24 Sep 2008, 08:06 PM
I am trying to use RadProgressArea on my page it pops up when i upload a file.
and the this page refreshes itself. The page loads get executed but the progress bar does not get shown.

Please help.
I  am using neat upload and cannot use RadUpload.

##########   ASPX ##################
    <form id="form1" runat="server">
    <div>
   
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
   
    </div>
    <telerik:RadProgressArea ID="RadProgressArea1" Runat="server" ProgressIndicators="TotalProgress, TotalProgressBar, TotalProgressPercent, CurrentFileName, RequestSize"  >
<Localization Uploaded="Uploaded"></Localization>
    </telerik:RadProgressArea>
    <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" />
    </form>
#######################################

############# COde Behind ############

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim progress As RadProgressContext = RadProgressContext.Current
 
        progress.PrimaryTotal = FormatCount(BytesTotal)
        progress.PrimaryValue = FormatCount(BytesRead)
        progress.PrimaryPercent = (BytesRead / BytesTotal) * 100

 '       progress("PrimaryTotal") = FormatCount(BytesTotal)
  '      progress("PrimaryValue") = FormatCount(BytesRead)
   '     progress("PrimaryPercent") = (BytesRead / BytesTotal) * 100
    '    progress("CurrentOperationText") = "Some"

    End Sub

###########################




No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
p
Top achievements
Rank 1
Share this question
or