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.
我创建了一个带有日历的时间表。现在我正在使用事件日历预渲染。但该事件在每次点击时都会运行。当我单击按钮时,我想阻止此事件触发。这可能吗?
您可以尝试使用此代码
If( ! IsPostBack) { //Execute Your code }
当你点击按钮 => 他不经过( ! IsPostBack)
( ! IsPostBack)