Answer the question
In order to leave comments, you need to log in
How to disable the OnEvent attribute server-side in Ext.Net?
My aspx has a button:
<ext:Button runat="server" ID="SaveButton"
Text="Save"
Icon="PageSave"
meta:resourcekey="SaveButton">
<DirectEvents>
<Click OnEvent="SaveData">
<EventMask ShowMask="True"></EventMask>
</Click>
</DirectEvents>
</ext:Button>
Answer the question
In order to leave comments, you need to log in
The answer, it turns out, was simple:SaveButton.DirectEvents.Click.Event -= SaveData;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question