使用弹出窗口在Gridview中添加行而不刷新页面 [英] adding rows in a Gridview using a Popup without refreshing the page

查看:118
本文介绍了使用弹出窗口在Gridview中添加行而不刷新页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在页面上单击添加按钮时,将打开一个弹出窗口,并在该弹出窗口中填充所有字段,然后按提交按钮,所有数据将添加到Gridview行中,而无需刷新页面

On Clicking Add Button on a Page a pop up will open and filling all fields on that popup press a submit button , all the data will add to a Gridview row without refreshing the page

推荐答案

尽管您尚未标记ASP.NET,但看起来与它的Web相关.

从这些文章中获取提示:
在子窗口关闭时通过AJAX(ASP.NET 2.0)对父页面进行部分更新-有条件地 [ ^ ]
Web应用程序的ClientCallback自定义控件 [
Though you have not tagged ASP.NET, it looks like its web related.

Take hints from these articles:
Partial update of parent page via AJAX (ASP.NET 2.0) on close of a child window - conditionally[^]
ClientCallback custom control for web applications[^]

Try now. Post specific questions if you face issue.


这篇关于使用弹出窗口在Gridview中添加行而不刷新页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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