Display Progress Bar on Click?

Thread is closed for posting
2 posts, 0 answers
  1. Steve Wages
    Steve Wages avatar
    40 posts
    Member since:
    Aug 2005

    Posted 17 Jul 2008 Link to this post

    Hi is there a way to display the Progress Area on the click of the Submit button?
    Seems like the progress area doesn't show right away, until it starts uploading.
    I would like to show the progress area right away so user knows that the postback has been initiated. and that they have clicked the submit button, instead of clicking it two or three times.


    So some kind of client event first?
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 21 Jul 2008 Link to this post

    Hi Steve Wages,

    You can subscribe to the OnClientClick event of a button and call the show method of the progress area:

    <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" OnClientClick="ShowProgressArea()" /> 

    function ShowProgressArea() 
        $find('<%=RadProgressArea1.ClientID%>').show() 

    I hope this helps.




    Regards,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top