首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

ASPXTreeList 记要文本框状态

2012-08-14 
ASPXTreeList 记录文本框状态dx:ASPxTreeList IDtlAmout runatserver AutoGenerateColumnsfalse

ASPXTreeList 记录文本框状态
<dx:ASPxTreeList ID="tlAmout" runat="server" AutoGenerateColumns="false" Width="100%"
  KeyFieldName="NodeID" ParentFieldName="ParentID" KeyboardSupport="True" AccessKey="T">

  <Columns>
  <dx:TreeListTextColumn Caption="类别名称" FieldName="NodeName" >
  </dx:TreeListTextColumn>
  <dx:TreeListTextColumn Caption="金额">
  <DataCellTemplate>
  <dx:ASPxTextBox ID="tbxAmout2" runat="server" Width="170px" ViewStateMode="Enabled">
  </dx:ASPxTextBox>
  </DataCellTemplate>
  </Columns>
 </dx:ASPxTreeList>

代码如上所示
我在tbxAmout2文本框中输入内容后,点击ASPxTreeList 的折叠功能后,再展开,tbxAmout2文本框中的内容就消失了
现在要求对ASPxTreeList 折叠后,再展开tbxAmout2文本框中的内容还存在
求解,谢谢。

[解决办法]
使用PopupEditForm 模式

热点排行