UpdatePanel.Visible =真正的无影响 [英] UpdatePanel.Visible = true has no effect

查看:199
本文介绍了UpdatePanel.Visible =真正的无影响的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个广泛的任务。 有一个更新面板upDetails,它显示的信息表(initialy可见= FALSE) 当用户从主表中选择任何项目,我们应该设置upDetails.Visible = TRUE;

There is a wide task. There is an update panel upDetails, which displays details table (initialy visible = false) when user selects any item from master table, we should set upDetails.Visible = true;

但soesn't工作任何地方/事件我把它 - BL方法两者都不是,既不是pre-渲染。它仍然是不可见的。

But it soesn't work whatever place/event I had placed it - neither BL methods, neither pre-render. It still be invisible

但是,当我不让它initialy无形的,一切工作正常。

But when I do not make it initialy invisible, all works fine

我该怎么办错了?

在此先感谢

推荐答案

您说的是 ASP.NET AJAX的UpdatePanel 控制?尝试把一个真正的面板控制(ASP:面板)。在UpdatePanel内设置的可见性错误/上控制真实和离开的UpdatePanel可见

Are you talking about the ASP.NET Ajax UpdatePanel Control? Try to put a "real" Panel Control (asp:Panel) inside the UpdatePanel and set the visibilty false/true on that control and leave the UpdatePanel visible.

这篇关于UpdatePanel.Visible =真正的无影响的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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