hide radupload

Thread is closed for posting
2 posts, 0 answers
  1. Sigma
    Sigma avatar
    87 posts
    Member since:
    Apr 2012

    Posted 22 Oct 2012 Link to this post

    hii,
    how can i hide the radupload when the radprogressarea is showing?

    thanks..
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 22 Oct 2012 Link to this post

    Hi Sigma,

    Try the following code snippet to achieve your scenario.

    ASPX:
    <asp:Button ID="Button1" runat="server"  OnClientClick="doPostBack()" />
    <telerik:RadUpload ID="RadUpload1" runat="server"></telerik:RadUpload>
    <telerik:RadProgressManager ID="RadProgressManager1" runat="server" />
    <telerik:RadProgressArea ID="RadProgressArea1" runat="server" ></telerik:RadProgressArea>

    JS:
    <script type="text/javascript">
        function doPostBack() {
            $telerik.$(".RadUpload").css("visibility", "hidden");
            __doPostBack("", "");
        }
    </script>

    Hope this helps.

    Regards,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top