How to call window.alert(“message”); from C#?

后端 未结 10 2308
春和景丽
春和景丽 2021-02-07 05:18

I have my own exception based on some condition and want to raise an alert when control comes in this catch block

catch (ApplicationException ex)
{
    //want t         


        
10条回答
  •  礼貌的吻别
    2021-02-07 06:02

    I'm not sure if I understand but I'm guessing that you're trying to show a MessageBox from ASP.Net?

    If so, this code project article might be helpful: Simple MessageBox functionality in ASP.NET

提交回复
热议问题