处理从gridview模板字段触发事件时未显示的图像 [英] processing image not showing when event fired from gridview template field

查看:69
本文介绍了处理从gridview模板字段触发事件时未显示的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用master-child page。在母版页中,我有scriptmanager,updatepanel和progress image。在一个子页面中,我有一个gridview和几个控件。 gridview还有2个下拉列表作为模板字段。

我的问题是:--- 每当触发页面控件(外部网格)事件时,进度图像在回发期间工作正常,但每当gridview模板字段控件的事件将触发未显示的进度图像。回发发生,我得到了想要的结果,但处理图像没有显示。



请帮帮我...

Hello everyone,
I''m using master-child page.In master page I have scriptmanager,updatepanel and progress image.In one child page I have a gridview and several controls. The gridview also has 2 drop down lists as template field.
My problem is :--- whenever the page control(outside grid)events are fired the progress image works fine during postback,but whenever the events of the gridview template field controls are fired the progress image not showing up. The postback happens and I get the desired result but processing image is not showing.

Please help me out ...

推荐答案

hi,

请按照下列步骤操作: -

a)在Gridview的RowData绑定上,

b)查找Master的更新面板页面然后在下拉列表的控件ID上向更新面板添加异步触发器。

c)注册启动脚本,在启动脚本中,获取PageRequestManager.getInstance并添加initializeRquest和EndRequest。

d)在Initialize请求中查找图像将其style.display设置为阻止并在最终请求中将其style.display设置为无

Follow these steps :-
a) On RowData Bound of Gridview,
b) Find Update Panel of Master Page & then add Asynchronous trigger to the update panel on dropdownlist''s control id.
c) Register Startup Script, In startup Script, get PageRequestManager.getInstance & add initializeRquest & EndRequest.
d) In Initialize request find image set its style.display to block & in the end request set its style.display to none


这篇关于处理从gridview模板字段触发事件时未显示的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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