实习期上班两天感触

接触的新东西:

1.castle:说实话上学期间,听都没听过的东西,从头开始学,所以说收货似乎也没多少的收货,链一个实际开发的链接,很小的应用:

http://www.cnblogs.com/xiaogangqq123/archive/2011/07/04/2097391.html

2.服务器端控件:在上学时完全抛弃的东西,现在却要拾过来,努力的学习

--1--

MasterPage:

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Main.Master.cs" Inherits="KDSoft.KDMAPS.Web.MasterPage.Main" %>

<head>

<asp:ContentPlaceHolder ID="cphHead" runat="server">
</asp:ContentPlaceHolder>

</head>

<body>

<asp:ContentPlaceHolder ID="cphContent" runat="server">
</asp:ContentPlaceHolder>

</body>

附页:

<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/MasterPage/Main.Master" AutoEventWireup="true" CodeBehind="ClassList.aspx.cs" Inherits="KDSoft.KDTest.Web.Manage.Edu.ClassList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

。。。

</asp:Content>

这里面MasterPageFile是一个母版页,也就是我要写的这个ClassList页面用的模板

而Content的作用就是用这个模板页里面的东西

第一个就是链入Head

第二个是链入Body

--2--

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true">
</asp:ScriptManager>

ScriptManager 控件管理用于 Microsoft ASP.NET AJAX 页面的客户端脚本。默认情况下,ScriptManager 控件将 Microsoft AJAX 库的脚本与页面注册到一起,这使脚本可以使用类型系统扩展并支持局部页面输出和 Web 服务调用。

http://www.cnblogs.com/lcl_1015/articles/1822886.html

--3--

<asp:PlaceHolder ID="phSearch" runat="server">

</asp:PlaceHoder>

PlaceHolder 控件用于为代码添加的控件预留空间。在页控件层次结构中为以编程方式添加的控件保留位置。

注释:PlaceHolder 不会产生任何可见的输出(仅仅是网页上其它控件的容器)。

在asp.net 的master页面上创建一块内容区域。用于对master页面进行布局。

--4--

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">

</asp:UpdatePanel>

Asp.net UpdatePanel 允许用户构建一个丰富的,以客户端为中心的应用程序,引用UpdatePanel控件,能够实现页面的部分刷新,一个包含scriptManage和 UpdatePanel控件的页面自动具有页面部分刷新的功能,不需要写任何的客户端JavaScript代码。一个web页面只能包含一个 ScriptManage控件,但可以包含一个或多个UpdatePanel控件。

http://www.cnblogs.com/wumin97136/archive/2007/09/28/666323.html

--5--

  <asp:UpdateProgress ID="UpdateProgress1" runat="server">

</asp:UpdateProgress>

中文翻译-- 更新进度

eg:

<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<div class="updateProgress">
<img src="../../@theme/default/images/ajax/LoadingProgressBar.gif" alt="数据加载中……" /></div>
</ProgressTemplate>
</asp:UpdateProgress>

解释:updateprogress中间夹杂一个gif动态图片 就是一个进度条在哪儿滚来滚去de。。。

原文地址:https://www.cnblogs.com/sunzgod/p/4117275.html