我在保存的代码按钮上设置了扩展程序控件ID,而不是先打开弹出窗口 [英] i have set extender control id on my save's code button than popup open firstly

查看:68
本文介绍了我在保存的代码按钮上设置了扩展程序控件ID,而不是先打开弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我先在保存的代码按钮上设置了扩展程序控件ID,而不是首先打开< b>弹出窗口,所以我的保存代码未执行</b>.如何在不删除保存按钮上的控件ID的情况下解决.

i have set extender control id on my save''s code button than <b>popup open firstly so my save code is not execute</b>.so how can solve without remove my control id on save button.

推荐答案



如果将保存"按钮设置为modalpopupextender的targetcontrolid,则首先会显式显示弹出窗口.

做一件事.放置一个虚拟按钮,并使用style属性将其可见性设置为none,然后将此按钮分配为您的modalpopupextender的targetcontrolid,在完成保存功能后,只需调用modalpopupextender1.Show();即可.功能.

希望这会有所帮助.
Hi,

If you have set the Save button as the targetcontrolid of modalpopupextender then obviuosly popup will shown first.

Do one thing. Place a dummy button and set its visibility to none using style attribute and assign this button as targetcontrolid of your modalpopupextender and after you are done with your save function simply call the modalpopupextender1.Show(); function.

Hope this helps.


这篇关于我在保存的代码按钮上设置了扩展程序控件ID,而不是先打开弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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