开发者

Data Bound RadPanelBar in ASP.NET Not Collapsing

I'm binding to a RadPanelBar control using the ItemTemplate; it creates the RadPanelBar correctly using this approach, but the panel bar doesn't close when you click on the header??? How do you get the header click to close the item, or is there an alternative way for this kind of setup?

<tel:RadPanelBar ID="r" runat="server" DataTextField="Name" Width="500px"> 
  <ItemTemplate>
    <div> 
      <asp:HiddenField ID="hdn" runat="server" Value='<%# Eval("Rel") %>' /> 

      <开发者_JAVA技巧asp:CheckBoxList ID="fields" runat="server" RepeatLayout="Table" 
          RepeatColumns="2" RepeatDirection="Horizontal" 
          DataTextField="RelName" DataSource='<%# Eval("Fields") %>'> 
      </asp:CheckBoxList> 
    </div>
  </ItemTemplate> 
</tel:RadPanelBar> 

I can't collapse any of the items for some reason. Any ideas?

Thanks.


You can check this help topic which explains this behavior.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜