Hello,
Actually, I am facing a condition where I want to execute 'OnClick' and 'OnClientClick' both methods when I click button.. How can it possible.
Thanks in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Guest UserRank #816 · 2.8K reputationPosted Aug 4, 2015, 12:54 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Aug 4, 2015, 1:33 AM EDT
<asp:Button ID="Button1" runat="server" Text="Soumettre ce ticket"
onclick="Button1_Click" OnClientClick="CloseDialog();"
Manas MohapatraRank #182 · 13.2K reputationPosted Aug 4, 2015, 1:56 AM EDT
Hi,