\Controls\User\RegisteredUserControl.cs
2005-07-16 00:05
204 查看
message.Text = String.Format( ResourceManager.GetString("DisplayUserWelcome_UserWelcome"), "<a href=\"" + Globals.GetSiteUrls().UserEditProfile + "\">" + CSContext.Current.User.Nickname + "</a>");
message.Text +=" | <a href=\"" + Globals.GetSiteUrls().UserEditProfile + "\">" + ResourceManager.GetString("DisplayUserWelcome_UserWelcome_ziliao") + "</a>";
message.Text +=" | <a href=/admin/>" + ResourceManager.GetString("DisplayUserWelcome_UserWelcome_guanli") + "</a>";
修改登陆后的标题,更为明显,
效果如下:
message.Text +=" | <a href=\"" + Globals.GetSiteUrls().UserEditProfile + "\">" + ResourceManager.GetString("DisplayUserWelcome_UserWelcome_ziliao") + "</a>";
message.Text +=" | <a href=/admin/>" + ResourceManager.GetString("DisplayUserWelcome_UserWelcome_guanli") + "</a>";
修改登陆后的标题,更为明显,
效果如下:
相关文章推荐
- AJAX Control Toolkit: Extender controls may not be registered before PreRender
- 编译器错误信息: CS0030: 无法将类型“ASP.webusercontrol_treeview_ascx”转换为“System.Web.UI.WebControls.TreeView”
- WinForms Controls > Examples > How to: Add New XtraForm, RibbonForm and XtraUserControl to Your Proj
- Dynamic User Control, Ajaxify Your Controls
- Winform应用程序加入UAC(User Account Control)用户账户控制
- The Controls collection cannot be modified because the control contains code blocks (i.e. ).
- How to pass ViewState value from web form page to web user control page?
- new usercontrol
- Q&A: What's the difference between CustomControl and UserControl?
- Building ASP.NET Server Controls-CustomEventTextbox.cs
- Not able to wire events in user control
- Web user controls 和 Web custom controls
- How to create a read-only user in TFS source control
- Usercontrol Hosted in IE
- ASP.NET AJAX Roadmap--Server Controls (7): UpdatePanel Control Overview
- 无法将类型为“System.Web.UI.LiteralControl”的对象强制转换为类型“System.Web.UI.WebControls.Text
- Parallel.ForEach<Control>(ascx.Controls.Cast<Control>(), ...);
- Kodi ——6 Controls (12)6.12 ScrollBar Control
- Windows Vista for Developers——第四部分:用户帐号控制(User Account Control,UAC)
- Creating User Controls