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

Loading Panel on Upload

2 Answers 13 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Vvamc
Top achievements
Rank 1
Vvamc asked on 23 Jun 2014, 04:37 PM
HI ,

I Have an asp:Upload control on click of submit i have to display a loading panel until the display of a message from Radwindowmanager.Radalert.Please Help me out.

Thanks in advannce

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 24 Jun 2014, 03:20 AM
Hi Vvamc,

Please have a look into the sample code snippet to achieve your scenario.

ASPX:
<asp:FileUpload ID="upldAllFiles" runat="server" />
<asp:Button ID="btnSubmit" runat="server" Text="Submit" OnClick="btnSubmit_Click" />
<telerik:RadAjaxManager ID="rajxmanagerUploadFile" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnSubmit">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="upldAllFiles" LoadingPanelID="rajaxloadingpanelUploading" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="rajaxloadingpanelUploading" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>

C#:
protected void btnSubmit_Click(object sender, EventArgs e)
{
    //your code
    System.Threading.Thread.Sleep(10000);
}

Thanks,
Shinu.
0
Vvamc
Top achievements
Rank 1
answered on 25 Jun 2014, 07:48 PM
Thanks a lot 
Tags
Upload (Obsolete)
Asked by
Vvamc
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Vvamc
Top achievements
Rank 1
Share this question
or