当我点击 Edit 触发 OnEditCommand 后, 我想在所显示的 项里,
动态绑定 Session 中的数据到 RadioButtonList, 怎么弄?
代码太长贴不了, 附就是以下DataList 的RadioButtonList
<form runat= "server ">
<!-- Begin flMng -->
<asp:Label id= "flMngDebugLabel " runat= "server " />
<asp:Label id= "flMngNavigatorLabel " runat= "server " />
<asp:Label id= "flMngInfoLabel " runat= "server " />
<asp:PlaceHolder id= "flMngPh " runat= "server " />
<div class= "flMngFolderBar algr ">
<asp:PlaceHolder id=flMngFolderPh runat=server
/>
</div>
<asp:DataList id= "flMngFolderList " runat= "server "
BorderColor= "black "
CellPadding= "5 "
CellSpacing= "5 "
RepeatDirection= "Vertical "
RepeatLayout= "Flow "
RepeatColumns= "10 "
ShowBorder= "True "
OnEditCommand= "flMngEditCmd "
OnItemCommand= "flMngItemCmd "
>
<HeaderTemplate>
<h3> 目录: </h3>
<ol class= "flMngFolderList ">
</HeaderTemplate>
<HeaderStyle BackColor= "#aaaadd ">
</HeaderStyle>
<AlternatingItemStyle BackColor= "Gainsboro ">
</AlternatingItemStyle>
<ItemTemplate>
<li class= "flMngDiv ">
<div class= "fltr ">
<asp:LinkButton id= "flMngEditButton "
Text= "Edit "
CommandName= "Edit "
runat= "server "
/>
</div>
<a href= "?path= <%# DataBinder.Eval(Container.DataItem, "FolderRelativePath ") %> ">
<%# DataBinder.Eval(Container.DataItem, "FolderName ") %>
</a>
</li>
</ItemTemplate>
<EditItemTemplate>