Hi,
i am using ajax ModalPopupExtender inside the updatePanel. but it's not work properly. so plz tell me How to use it
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
Saineshwar BageriRank #115 · 19.6K reputationPosted Oct 21, 2014, 10:58 PM EDT
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="modal.aspx.cs" Inherits="WebApplication1.modal" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
Jiyaul MustaphaRank #5,573 · 294 reputationPosted Jun 24, 2019, 8:51 PM EDT
Confirm?
Are you sure to delete the selected record?
class="btn btn-success btn-border btn-sm" data-dismiss="modal">
NO
class="btn btn-danger btn-border btn-sm">
YES
{
ScriptManager.RegisterStartupScript(this, GetType(), "", "ShowDialog(true);", true);
}
{
ScriptManager.RegisterStartupScript(this, GetType(), "", "HideDialog();", true);
}