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

Display Progress Bar on Click?

1 Answer 298 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Steve Wages
Top achievements
Rank 1
Steve Wages asked on 17 Jul 2008, 10:21 PM
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?

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 21 Jul 2008, 12:49 PM
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
Tags
Upload (Obsolete)
Asked by
Steve Wages
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or