ASP.net中的响应图像 [英] Response images in ASP.net

查看:72
本文介绍了ASP.net中的响应图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用AJAX时,JAVA将代码(通常带有URL)发送到服务器(一个处理数据然后响应信息的页面),并使用JAVA接收信息,然后页面不闪烁,显示信息.现在,我该如何在处理页面上响应图像并接收图像,然后显示而不闪烁!?

When use AJAX, JAVA send Code(with URL usually) to server(a page that processing data and then response the information) and receive information with JAVA and then page without blinking , show information. Now how i can response image with processing page and receive that ,then show without blinking!?

推荐答案

在ASP.NET中使用AJAX时,调用将发送至服务器异步,并将回调到您告诉它的javascript.无需重新发布页面即可完成所有操作(闪烁).有各种各样的AJAX库和示例,但是由于您没有说明要使用的ASP.NET版本,因此很难指出可直接使用的版本.这是网站上AJAX示例的链接.

http://www.codeproject.com/KB/ajax/ [
When you use AJAX in ASP.NET, the calls are sent to the server asynchronously and will call back to the javascript you tell it to. This is all done without reposting the page (blinking). There are various AJAX libraries and samples, but since you did not say what version of ASP.NET you are using it is hard to point you to something that you can use directly. Here is a link to the AJAX samples on the website.

http://www.codeproject.com/KB/ajax/[^]


这篇关于ASP.net中的响应图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆