0
.Net Framework v4.5 Ext.Net v2.2 我使用UserControlLoader並且工作正常,但我需要將屬性傳遞給我的UserControl然後呈現它。 我的用戶標記如何將值傳遞給Ext.Net usercontrol然後加載它?
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditPost.ascx.cs" Inherits="SepanoCMS.Views.EditPost" %>
<ext:Panel RTL="true" ID="pnlEditPost" ClientIDMode="Static" runat="server" Padding="5" Layout="FormLayout" AutoWidth="true"
AutoHeight="true" AnchorHorizontal="100%" Border="false">
<Items>
<ext:TextField ID="txtTitle" ClientIDMode="Static" runat="server" AnchorHorizontal="100%" />
<ext:HtmlEditor ID="HtmlEditor1" ClientIDMode="Static" runat="server" MinHeight="150" MaxHeight="600" AnchorHorizontal="100%" />
</Items>
</ext:Panel>
我想填補 txtTitle和 HtmlEditor1在Page_Load中