you can still use window.confirm in javascriptif you are using the webbrowser and you want to handle it inside your C# code, add a click event handler for your button, use MessageBox.Show, depending on the return value, you can return true or false,see http://support.microsoft.com/?kbid=312777
解决方案 »
- C# winform 打印
- 文本框点击事件(100分)
- c#找图
- 请教,以窗体的名字作为参数打开此窗体可行吗?如行,应怎样做?
- 谁能给我个SharpDevelop2 2.0.的source地址??并且要RAR格式的!1
- System.Windows.Forms.TreeNode不带value,有没有带value的方法?
- 请问高手showModalDialog上的按纽不执行任务,XML在2000上出错
- 问高手Graphics的问题,怎么在Web页面里面画东西,再线等
- 如何改变DataGrid里的特定行的背景色或前景色?
- 关于ADO.NET设计模型上的困惑?
- 我的程序(c#)已经加入IE工具栏,但是如何得到当前IE地址栏的地址和Title?帮忙啊!
- 怎样获得一个picturebox框中图像的句柄???谢谢!没分了!!!
BtnDelete.Attributes["onclick"] = "javascript: window.confirm("Are you sure?");"