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
###########################
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
###########################