使用模式弹出onok的问题 [英] problem in using modal popup onok

查看:97
本文介绍了使用模式弹出onok的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正在使用modelpopup插入新数据,我想在OK按钮中单击以执行button_Click.
但是它没有进入??
现在的解决方案是什么.

Hi all
I am using modelpopup to insert new data, I want in the ok button click to execute button_Click.
But it didn''t enter to it???
What is the solution now.

推荐答案

也请在此处查看我的注释:
Please also see my notes here: how to use popup to enter data in asp.net[^].

—SA


标头中有一个像这样的JavaScript

Hi Have a javascript like this in the header

function submitForm() {
    document.forms[0].submit();
}



将此附加到确定"按钮onClientClient事件.然后使用您想使用的任何业务逻辑处理page_load事件.



attach this to the Ok button onClientClient event. Then handle the page_load event what ever business logic you want to use.


这篇关于使用模式弹出onok的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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