文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>设置页面的默认焦点控件和默认接受事件控件How Do I Set the DefaultFocus or DefaultButton in a Page Bas

设置页面的默认焦点控件和默认接受事件控件How Do I Set the DefaultFocus or DefaultButton in a Page Bas

时间:2010-11-22  来源:DAP

设置页面的默认焦点控件和默认接受事件控件

 

How Do I Set the DefaultFocus or DefaultButton in a Page Based on a Master Page in ASP.NET 2.0

Don’t do this:
• Page.Form.DefaultFocus
= "TextBox1"
• Page.Form.DefaultButton
= "Button1"

Do
this:
• Page.Form.DefaultFocus
= TextBox1.ClientID
• Page.Form.DefaultButton
= Button1.UniqueID

 

相关阅读 更多 +
排行榜 更多 +
建筑模拟器最新版

建筑模拟器最新版

模拟经营 下载
素人改造师最新版

素人改造师最新版

模拟经营 下载
外星战士幸存者手机版

外星战士幸存者手机版

飞行射击 下载