asp.net ajax动态纵向菜单
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LeftMenu.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<mce:style type="text/css" ><!--
.ExpandCollapsePanelCss
{
vertical-align:baseline;
cursor:hand;
}
A
{
font-size: 9pt;
color: #006699;
text-decoration: none;
}
--></mce:style><style type="text/css" mce_bogus="1"> .ExpandCollapsePanelCss
{
vertical-align:baseline;
cursor:hand;
}
A
{
font-size: 9pt;
color: #006699;
text-decoration: none;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" CellPadding="4" Width="111px" OnRowDataBound="GridView1_RowDataBound" DataKeyNames="ID">
<RowStyle BackColor="White" ForeColor="#003399" />
<Columns>
<asp:TemplateField >
<ItemTemplate>
<asp:Panel ID="Panel1" runat="server" Height="18px" Width="140px" BackImageUrl="~/IMAGE/manageshow.gif">
<%#Eval("Name") %></asp:Panel>
<asp:Panel ID="Panel2" runat="server" Height="43px" Width="138px">
相关文档:
在Web编程过程中,存在着很多安全隐患。比如在以前的ASP版本中,Cookie为访问者和编程者都提供了方便,并没有提供加密的功能。打开IE浏览器,选择“工具”菜单里的“Internet选项”,然后在弹出的对话框里单击“设置”按钮,选择“查看文件”按钮,在弹出的窗口中,就会显示硬盘里 ......
一、委托
(1) 委托时一种引用方法的类型,一旦为委托分配了方法,委托将与该方法具有完全相同的行为,委托方法的带哦用可以像
其他方法一样,具有参数和返回值,
如: public delegate int PerformCa ......
using System;
using System.Collections.Specialized;
using System.Data;
using System.Configuration;
using System.Collections;
using System.IO;
using System.Threading;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebC ......
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Microsoft.Practi ......