编辑modalpopup内一个gridview不关闭弹出 [英] Edit a gridview inside a modalpopup without closing popup

查看:218
本文介绍了编辑modalpopup内一个gridview不关闭弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个模式弹出(使用ModalPopupExtender)的一种一格主/详细信息视图工作。当你点击一个网格的一个按钮,它显示一个包含另一个信息网格的弹出窗口,单击基础在第一格的行。

I've got a modal popup (using ModalPopupExtender) working in a kind of master/detail view for a grid. When you click a button on one grid, it displays a popup window containing another grid of information, based on the row clicked in the first grid.

这工作得很好......我已经启用编辑在弹起的网格。当您单击编辑,虽然,在弹出的窗口中消失。如果我点击第一个网格中显示按钮,虽然带来了弹出窗口再次可见它显示,现在是在编辑模式下。

This works well... I've enabled editing in the grid that is popped up. When you click edit though, the popup window disappears. If I click the display button in the first grid though to bring the popup window visible again it displays, and is now in edit mode.

有没有一种方法,使在弹出的回发不关闭弹出?

Is there a way to make postbacks in the popup not close the popup?

推荐答案

想出了一个办法做到这一点......

Figured out a way to do this...

在为GridView我只是被称为弹出该行命令事件()为我modalpopup。

In the row command event for the gridview I just called Popup() for my modalpopup.

作品:)

这篇关于编辑modalpopup内一个gridview不关闭弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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