单击asp.net按钮时如何在不刷新的情况下加载页面? [英] how to load the page without refreshing when asp.net button is clicked?

查看:108
本文介绍了单击asp.net按钮时如何在不刷新的情况下加载页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,

我的任务是在每次单击按钮时加载页面,而不会刷新整个页面..当我用它搜索谷歌时,我将获得各种解决方案.所以我不知道要遵循哪一个,即使我遵循我也没有得到确切的输出..因此,请给我一些有关ajax的代码.

解决方案

在开始之前编写代码时,我强烈建议您对有基本的了解 [ Hello World [示例 [ AJAX教程 [ ^ ]


您可以使用


Hai,

My task is to load the page without full page refreshing whenever a button is clicked .. i am getting various solution for this when i googled it. so i dont know which one to follow and even if i follow i am not getting exact output.. so please sugest me some code for ajax .

解决方案

Before you start writing code, I strongly advise you to have a basic understanding[^] of the topic. After that, you can probably start with a simple Hello World[^] application. CP has also one good example[^] of using AJAX on ASP.Net.


Start from here
AJAX Tutorial[^]


You can do it by Ajax and jquery by using


这篇关于单击asp.net按钮时如何在不刷新的情况下加载页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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