如何使用ajax显示modelpopup扩展器 [英] how to display modelpopup extender using ajax

查看:82
本文介绍了如何使用ajax显示modelpopup扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,


1.
我有点怀疑..在我的项目中.我有三个文本框2个按钮
1.手机号码:2.名称:3地址. 4.保存按钮...当客户端填写文本框并单击保存按钮时,
应该显示弹出窗口

我想在弹出窗口中显示所有inputp值
1个手机号码---- xxxxx
2名----- xxxxx
3地址----- xxxxx

就像我想在确认按钮意味着确定或取消单击之后显示的确定数据将存储在数据库中,并且
点击取消交易应该被取消.我想要在那个弹出窗口中
请帮助我任何人知道此代码


2.如何在不使用(autopost back = true)的情况下将(aspbox)输入值.aspx文件发送到.aspx.cs文件.

Dear All,


1.
i have small doubt.. in my project. i have three text boxes 2 buttons
1. mobile no: 2. name : 3 Address . 4. save button ... when client fill the text boxes and click save button it
should display popup window

i want to display all inputp values in popup window
1 mobile no---- xxxxx
2 name -----xxxxx
3 Address -----xxxxx

like that i want display after confirmation buttons means ok or cancel click ok data will be stored in data base and
click cancel transaction should be cancel . i want in that popup window
please help me any one know this code


2. how to send (txtboxes) input values .aspx file to .aspx.cs file without using (autopost back = true)

推荐答案

http://www.ajaxtutorials.com/ajax-tutorials/using-modalpopupextender-from-ajax-control-toolkit-c/[^]

Try it, and come back if you have any problem.


您好,请与您的数据一起使用.

Response.Write(< SCRIPT LANGUAGE =''JavaScript''>警报(您的数据...'')</SCRIPT>");


sanjeev
Hello Use this with ur data.

Response.Write("<SCRIPT LANGUAGE=''JavaScript''>alert(Your Data...'')</SCRIPT>");


sanjeev


In this example i'm going to describe how to implement Ajax Modal PopUp Extender on Mouse Over in ASP.NET using C# and VB.NET

For this to work u need to download and install ajaxcontroltoolkit



Create a new website in visual studio and write html markup of aspx page as shown below.



Put AjaxControlToolkit.dll in BIN folder and register assembly in page directive of ur aspx page.


<%@ Register Assembly="AjaxControlToolkit"

Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>


Now in Head section of page add this javascript method


<script type="text/javascript">

function MouseHover()
{


这篇关于如何使用ajax显示modelpopup扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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