how can display please wait message on the button

This can easily be achieved by using the ClientScript.GetPostBackEventReference method.
this.Btn_Upload.Attributes.Add("onclick""this.value='Please wait..'; this.disabled=true;" +
 ClientScript.GetPostBackEventReference(
this.Btn_Upload,""));

The GetPostBackEventReference injects the __doPostBack method and
 also the hidden fields that hold the event target and event arguments.
This is a useful technique when
uploading large files and during the process disabling the button control.


posted on 2007-10-18 16:12 Csharp Feeds 阅读(14) 评论(0)  编辑 收藏 网摘 所属分类: asp.net


标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
"五向定位"职业成长路线公开课(上海、南京、大连)
Google站内搜索


相关链接:
 




导航

<2007年10月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

统计

与我联系

搜索

 

常用链接

留言簿

我参加的小组

我参与的团队

随笔分类

随笔档案

最新评论

阅读排行榜

评论排行榜