关闭

Confirm Box in Asp.Net

标签: asp.netdeleteattributesbuttonserverasp
123人阅读 评论(0) 收藏 举报
分类:

1, in the back-end us the attributes added

 imgReactivateList.Attributes.Add("onclick", "return confirmMsg('Do you wish to put this property back Online?');")


2, at the front-end use the client onclick

 <asp:Button ID="Delete_Profile" runat="server" CssClass="submitBtn" 
                        Text="Delete Profile" onclick="Delete_Profile_Click" OnClientClick = " return confirm('Are you sure to Delete your Profiles ?');"/>
                


0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:43236次
    • 积分:1322
    • 等级:
    • 排名:千里之外
    • 原创:99篇
    • 转载:3篇
    • 译文:0篇
    • 评论:0条
    文章分类