即使在使用线程完成处理后,页面仍保持加载 [英] Page keeps loading even after finishing process while using threading
本文介绍了即使在使用线程完成处理后,页面仍保持加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 ^ ]以捕获网页图像.生成图像后,图像显示在同一页面上以供预览.这里的问题是,如果页面很重,则会生成图像并将其存储在文件夹中,但是页面仍会继续加载,并且图像永远不会显示.任何人都可以告诉我如何在创建映像后停止进程/线程,以便在不连续加载页面的情况下执行我的进一步代码.
I am using the code given at http://stackoverflow.com/questions/2715385/convert-webpage-to-image-from-asp-net[^]to capture image of webpage.After generating image the image is displayed on same page for preview.Problem here is if the page is heavy the image gets generated and get stored in folder but the page still keeps on loading and the image never get displayed. Could any one tell me how to stop process/thread once my image get created so my further code gets executed without continuous loading the page.
推荐答案
您必须停止获取图像后的线程.请检查您是否已编写该代码.
You have to stop the thread after getting the image. Please check you have written that code or not.
这篇关于即使在使用线程完成处理后,页面仍保持加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文