温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:漂亮的ComponentArtWebUI及Demo源码
当前文件:
ComponentArtWebUI/common/controls/demo_menu.ascx.cs[1K,2009-6-12 11:37:11],打开代码结构图
ComponentArtWebUI/common/controls/demo_menu.ascx.cs[1K,2009-6-12 11:37:11],打开代码结构图1namespace Demos.common.controls 2
{ 3
using System; 4
using System.Data; 5
using System.Drawing; 6
using System.Web; 7
using System.Web.UI.WebControls; 8
using System.Web.UI.HtmlControls; 9
10
/// <summary> 11
/// Summary description for demo_menu. 12
/// </summary> 13
public class demo_menu : System.Web.UI.UserControl { 14
protected string Root; 15
protected ComponentArt.Web.UI.Menu DemoMenu; 16
17
private void Page_Load(object sender, System.EventArgs e) { 18
Root = Request.ApplicationPath; 19
DemoMenu.RenderRootItemId = "Home"; 20
21
string CurrentPath = Request.FilePath.ToLower(); 22
if (CurrentPath.IndexOf("demos_control-specific/multipage") != -1) DemoMenu.OverlayWindowedElements = true; 23
} 24
25
Web Form Designer generated code 44
} 45
} 46






}