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

Changing content of RadAjaxLoadingPanel while page is loading

3 Answers 107 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
gozcelik
Top achievements
Rank 1
gozcelik asked on 07 Aug 2014, 06:13 AM
Hi,

I have a button on my page which has a long process. When it pressed I want to show info one by one in loading panel like "Connecting to server....", "Collecting data....", "Preparing Tables..." etc.
Is it possible?

Many thanks.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Aug 2014, 09:25 AM
Hi gozcelik,

Please have a look into this online demo which shows the custom images and Text for the RadAjaxLoadingPanel.

Thanks,
Shinu.
0
gozcelik
Top achievements
Rank 1
answered on 07 Aug 2014, 10:43 AM
Hi Shinu,
Thanks for quick reply.

That demo shows templates for loading panels and they are static. I want to change text on the fly. For example there is a "BUY NOW" button. When it is triggered, program get users card info from DB, check bank, register order, send mail, and then show a page writes "everything ok".
When all these events are proccessing, i want to show text in loading panel "getting card info", "checking bank", "order registering", "mail sending" on the fly. Is it possible with or without loadingpanel? Thanks.









0
Accepted
Shinu
Top achievements
Rank 2
answered on 08 Aug 2014, 04:43 AM
Hi gozcelik,

The desired functionality could not be achieved as the LoadingPanel shows on the client when the Ajax requests starts and closes when it ends on the server. As it shows on the client it could never knows what exactly happen on the server so its content could not be updated in the mentioned way.

Thanks,
Shinu.
Tags
Ajax
Asked by
gozcelik
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
gozcelik
Top achievements
Rank 1
Share this question
or