编辑modalpopup内一个gridview不关闭弹出弹出、编辑、modalpopup、gridview

2023-09-07 08:43:13 作者:唯有时光和爱经久不衰

我有一个模式弹出(使用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.

作品:)