Loading Panel on Upload

Thread is closed for posting
3 posts, 0 answers
  1. Vvamc
    Vvamc avatar
    22 posts
    Member since:
    Jan 2014

    Posted 23 Jun 2014 Link to this post

    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. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 23 Jun 2014 in reply to Vvamc Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vvamc
    Vvamc avatar
    22 posts
    Member since:
    Jan 2014

    Posted 25 Jun 2014 Link to this post

    Thanks a lot 
Back to Top