当我写EnableEventValidation =" false"按钮单击不触发 [英] When I am writing EnableEventValidation="false" button click not firing

查看:254
本文介绍了当我写EnableEventValidation =" false"按钮单击不触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





当Iam使用EnableEventValidation =false

Hi,

When Iam using EnableEventValidation="false" in

<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="EditInvoice.aspx.cs" Inherits="Radar5C.POInvoice.EditInvoice" %>







按钮点击不激活。



建议我解决此问题。




Button Click not firing.

Suggest me in Solving this issue.

推荐答案

在c#

Use following in c#
protected void Page_PreRender(object sender, EventArgs e)
    {
   
    }


浏览此链接 https://msdn.microsoft.com/en-us/library/system.web.ui.page.enableeventvalidation(V = VS。 110).aspx [ ^ ]


这篇关于当我写EnableEventValidation =&quot; false&quot;按钮单击不触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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