如何在.net中使用Ajax控件 [英] How to use Ajax Controls in .net

查看:61
本文介绍了如何在.net中使用Ajax控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在正在使用更新面板

i想要将此更新面板添加到我的.aspx页面中怎么做





我使用VS 4.0

然后我采取Asp.net网络应用程序

i想在我的内容页面中使用ajax控件

任何人为此提供示例

解决方案

您可以使用AjaxToolkit

它通常使用易于使用的ajax控件。

查看每个控件的演示

AjaxToolKit



下载Dll并使用它

http://ajaxcontroltoolkit.codeplex.com/ [ ^ ]


您可以在以下链接中找到很多示例以及如何在网页中使用...



Ajax 通过此链接。



更新面板示例:

您需要将代码放在内容模板中,如下所示...



< pre lang =xml> < asp:UpdatePanel ID = upErrMsg runat = server >
< ContentTemplate >
< < span class =code-leadattribute> asp:Label ID = lblErrmsg < span class =code-attribute> runat = server CssClass = ErrMsg > < / asp:标签 >
< / ContentTemplate >
< / asp:UpdatePanel >





希望这对您有所帮助。



谢谢

Naveen

Now am working with update panel
i want to add this update panel into my .aspx page how to do


I am using VS 4.0
then am taken Asp.net Web Application
i want to use ajax controls in my content pages
anybody give example for this

解决方案

You can use AjaxToolkit
It have commonly used ajax control that are easy to use.
See demo for each control
AjaxToolKit

Download Dll and use it
http://ajaxcontroltoolkit.codeplex.com/[^]


You can find lot of examples and how to use in webpage in below link...

Ajax Go through this link.

Example For Update Panel:
You need to put your code in content template like shown in below...

<asp:UpdatePanel ID="upErrMsg" runat="server">
     <ContentTemplate>
           <asp:Label ID="lblErrmsg" runat="server" CssClass="ErrMsg"></asp:Label>
     </ContentTemplate>
 </asp:UpdatePanel>



Hope this will help full to you.

Thanks
Naveen


这篇关于如何在.net中使用Ajax控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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