Trang chủ » Diễn Đàn » Lập trình và Phát triển Web » Microsoft .NET » Show progress bar during page_load
Chủ đề đã bị khóa, bạn không thể xóa, sửa hay trả lời trong chủ đề này!
|
|
|---|
|
0
I have a long query for data, so I need display a progress bar till the query finished.
I use ajaxToolkit:ModalPopupExtender but don't know how to use it to load progress bar on page_load. All I found on internet is using click button to show it Anybody has any example please help me Thanks |
|
|
|
0
I am fustrated to find the sulotion for this master.
I want to show an animation image to client while data is loading in background. when finish loading then show data and hide image. Anybody has an idea will be appreciated. Thanks |
|
|
|
0
Nếu bạn chỉ cần 1 cái animation image thì bạn có thể load sẵn 1 cái image, nhưng đặt nó là hidden (có thể dùng CSS). Khi button vừa được click thì bạn dùng javascript để show cái image đó ở client (phải xử lý ở client mới được). Do vậy nếu bạn xử lý ở server trong page_load thì tôi e là không được đâu.
---------
NBThanh Tutorial Room, cập nhật thường xuyên bài viết mới. Các bài viết mới cập nhật: - PHP - Lưu nội dung file ảnh vào CSDL NEW! - Làm việc với CSDL MySQL trong PHP - Học PHP qua ví dụ - Gởi email text, HTML, tiếng việt Unicode - Học PHP qua ví dụ - 1 chương trình download manager/giấu đường dẫn download - Học PHP qua ví dụ - Làm việc với Cookie và Session |
|
|
|
0
Of course I create a panel with some text, animation image etc.. on the page.
The problem is that, when user click button on previous page, I redirect to that page (let say animation page) and I want to show the panel which contains text, animation image while background is searching data. when data is available I render into the webcontrol, show it and hide the animation panel. The first I try to use thread to run a long process, and use postback to check the thread has finished or not, render data to webcontrol. It is not good due to postback, page flicks Second I use Callback to run a long process, when Callback finishes and call javascript, I postback again to render data to webcontrol. It only refresh page once. But I don't feel to be happy. Any solution? |
|
|
|
0
Bạn thử chuyển qua hết dùng AJAX coi sao, chứ nếu bạn chuyển page thì ít nhiều gì nó cũng sẽ flick 1 cái à.
---------
NBThanh Tutorial Room, cập nhật thường xuyên bài viết mới. Các bài viết mới cập nhật: - PHP - Lưu nội dung file ảnh vào CSDL NEW! - Làm việc với CSDL MySQL trong PHP - Học PHP qua ví dụ - Gởi email text, HTML, tiếng việt Unicode - Học PHP qua ví dụ - 1 chương trình download manager/giấu đường dẫn download - Học PHP qua ví dụ - Làm việc với Cookie và Session |
