Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在表单中添加了 ASP.NET 验证控件..
我在同一个表单上也有一个静态超链接......
如果我单击它,则由于验证原因,它不允许重定向...
如果用户单击超链接,我如何允许重定向?
试试这个linkbutton.CausesValidation = false;
linkbutton.CausesValidation = false;