开发者

Display data loading with delay

开发者 https://www.devze.com 2023-01-26 21:17 出处:网络
i have a asp:table with 0(zero) rows and button on my page. when user clicks the button, it add five rows into the table and show them on the page.

i have a asp:table with 0(zero) rows and button on my page.

when user clicks the button, it add five rows into the table and show them on the page.

but i want to show each row with some delay on page.

sequence should be like this : once a rows is added then show the loading image then add another rows ,then loading开发者_Go百科 Image,then add row and so on


i have used the timer and threading to acheive the result and for better user experience ajax update panel

My Main thread start a new thread for each record and completes the User interface.i had a timer on page that checks the status of each row and updates the data as the relevant thread for that row is completed.

0

精彩评论

暂无评论...
验证码 换一张
取 消