ASP.net RequiredFieldValidator VisualStudio 2012

后端 未结 3 1144
不知归路
不知归路 2021-02-04 18:40

I am developing a project with ASP.net c#. I want RequiredFieldValidator to check my textbox. I am adding validator, and it works perfectly fine in Visual Studio 2010. But once

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 19:29

    protected void Page_Load(object sender, EventArgs e)
    {
        this.UnobtrusiveValidationMode =System.Web.UI.UnobtrusiveValidationMode.None;
    }
    

    Just copy & paste in C# Code

提交回复
热议问题