Question:
I want to use both client side click event and click event handler on code. Is that a good approach? My code is:
<dx:ASPxButton ID="edditsave" runat="server" Text="Save" OnClick="edditsave_Click">
<ClientSideEvents Click="function(s, e) { ASPxPopupControl1.Show(); }" />
</dx:ASPxButton>
As i can't use this ASPxPopupControl1.Show()
in event handler of button.And on other hand there is more than 100 lines having complex code in button event handler which i can't share here and i apologize for this. So friends can i use both client side click events
and click event handler
of aspxbutton?
Shouldn't be a problem. Any any website where an "are you sure" alert is used is essentially doing just this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.