如何避免页面刷新 [英] How to Avoid the page refresh

查看:63
本文介绍了如何避免页面刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用asp.net和C#开发Web应用程序.在项目中包含许多控件,并且链接用于导航.如果我单击任何按钮或链接,页面将刷新.首先,我使用了asp.net更新面板,但是它对文件上传控制存在一些问题..那么,如何使用jquery停止页面刷新..

Hi All,

Am developing the web application using the asp.net and C#. In the project contain lot of controls and links are for navigation. If i click any button or link the page be refreshing. first i used the asp.net update panel, but its some problem for fileupload control.. So how can i stop the page refresh using the jquery..?

thanks in advance.

推荐答案

我认为更好的方法是使用UpdatePanel ..只需在更新面板外使用文件上传控件即可.
Better way what i think is to use UpdatePanel..Just use your file upload control out of update panel..see if it works..


这篇关于如何避免页面刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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