69,371
社区成员
发帖
与我相关
我的任务
分享
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="DescriptionBrief.ascx.cs"
Inherits="price_guide_uc_DescriptionBrief" %>
<h2 class="title">
<asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional">
<contenttemplate>
<div>
<asp:PlaceHolder ID="phView" runat="server">
<table style="width: 100%">
<tr>
<td style="font-size: 20px; width: 70%;">
<asp:Literal ID="lDescriptionBrief" runat="server" />
</td>
</tr>
</table>
</asp:PlaceHolder>
</contenttemplate>
</asp:UpdatePanel>
</h2>
using System;
public partial class price_guide_uc_DescriptionBrief : System.Web.UI.UserControl
{
public event OnUpdatedEventDelegate Updated;
protected void Page_Load(object sender, EventArgs e) {
Session["itemDescription"] = lDescriptionBrief.Text;
}
public string DescriptionBrief
{
set { lDescriptionBrief.Text = value; }
get { return lDescriptionBrief.Text; }
}
}