模态弹出扩展器中的单击事件

发布于 2024-09-10 17:12:18 字数 199 浏览 4 评论 0原文

我有一个 ASP.NET 页面,当我们单击链接按钮时,会显示模式弹出扩展器...Modalpopup 扩展器中有一个提交按钮,它将数据插入到数据库表中...问题是有modalpopup 扩展器中文本框的字段验证器...需要验证...

输入值后,在文本框中提交可用于第二次单击,但不适用于第一次单击...

您可以帮忙吗我过去了。

提前致谢

I have a ASP.NET page where a modal popup extender is shown when we click on a link button...There is a submit button in the Modalpopup extender which inserts the data into a DB table.... the proble is there are field validators for the textboxes in the modalpopup extender...for which validation is required...

After entering the values, in the textboxes the submit is working for the second click, but not on the first click...

Can u please help me over.

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

裂开嘴轻声笑有多痛 2024-09-17 17:12:18

将验证器的 ValidationGroup 和弹出窗口中的“提交”按钮设置为相同的值,“PopupValidationGroup”或类似的值。

Set the ValidationGroup for the validators and for the Submit button in the popup to the same value, "PopupValidationGroup" or something like that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文