Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Ext.NET 中是否有类似 asp:literal 的元素将字符串元素推送到标签内?我正在尝试实现树视图,并在 JS 中获取一些数据。我想通过像文字这样的元素将此字符串传递给 ext:TreePanel 标记。ext.net 中是否有这样的标签?
<ext:Label>可能是你最好的最好的。您可以设置.Html属性。
<ext:Label>
.Html
例子
<ext:Label runat="server" Html="<h2>Hello World</h2>" />
希望这可以帮助。