Hi
I have below code but i want below functionality to be done thru BootStrap Modal Popup
C#
PushThanks
Hi
I have below code but i want below functionality to be done thru BootStrap Modal Popup
PushThanks
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
Tuhin PaulRank #7 · 71.9K reputationPosted Apr 2, 2023, 10:01 AM EDT
Improved version:
Push Push Confirmation × Are you sure you want to push the session? Cancel // Code-behind protected void btnPushConfirm_Click(object sender, EventArgs e) { // Add validation to ensure that the logic is only executed when the user confirms the action // Execute the same logic as lnkPush_Click method }The confirmation message is displayed using the JavaScript confirm function, and the OnClientClick attribute is removed from the LinkButton. The modal popup is styled using Bootstrap CSS classes, and the server-side event handler is updated to include validation.