当前位置:首页 > 网络编程 > WEB编程 > ASP.net >  MessageBox Control in ASP.NET

 MessageBox Control in ASP.NET

点击次数:27 次 发布日期:2008-11-26 10:58:52 作者:源代码网
源代码网推荐      在ASP.NET里实现MessageBox
源代码网推荐  
源代码网推荐  http://www.microsoft.com/india/msdn/articles/119.aspx?
源代码网推荐  
源代码网推荐  ShowMessageAtStartup
源代码网推荐  
源代码网推荐  This control is used to show message at startup of the page. For example, if you want to inform the user with some information using message box after the post back. Then you can use this control. This control has following two properties,
源代码网推荐  
源代码网推荐  MessageText: This property is used to set the Message which is showed in the message box.
源代码网推荐  Enabled: This property is used for enabling or disabling this control depending upon the
源代码网推荐  requirement.
源代码网推荐  
源代码网推荐  
源代码网推荐  MessageAtSubmit
源代码网推荐  
源代码网推荐  This control is used to show alert message or confirm message box when the page is submitted. For example, when the user is pressing a button to delete a record. During that time, if you want to ask the user for confirmation. Then you can use this control. This control has following properties,
源代码网推荐  
源代码网推荐  MessageText: This property is used to set the Message which is showed in the message box.
源代码网推荐  Enabled: This property is used for enabling or disabling this control depending upon the
源代码网推荐  requirement.
源代码网推荐  IsConfirmMessage: This property is used to mention whether it is confirmation message box or alert message box.
源代码网推荐  ConfirmMessagePassClientScript: This property is used to mention the client side script which has to executed if the confirmation message return true. i.e. when users presses ok button. This property will be used only when isConfirmmessage property is set to true
源代码网推荐  ConfirmMessageFailClientScript: This property is used to mention the client side script which
源代码网推荐  has to executed if the confirmation message return false. i.e. when users presses
源代码网推荐  cancel button. This property will be used only when isConfirmmessage property
源代码网推荐  is set to true.
源代码网推荐  
源代码网推荐    做人要厚道,请注明转自酷网动力(www.ASPCOOL.COM)。
源代码网推荐


源代码网供稿.
网友评论 (0)
会员中心
网络编程
本站推荐
网络编程之精华