代码之家  ›  专栏  ›  技术社区  ›  Erx_VB.NExT.Coder

您能让updatepanel使用richdatacontrols吗?

  •  1
  • Erx_VB.NExT.Coder  · 技术社区  · 15 年前

    有可能吗?用ListView说?

    2 回复  |  直到 15 年前
        1
  •  1
  •   Jose Basilio    15 年前

    你需要设置 ChildrenAsTriggers 属性到 true 为了你所期望的这项工作。

        2
  •  0
  •   vgru    15 年前

    这是代码的相关部分

    <asp:UpdatePanel 
        ID="upComments" runat="server" 
        UpdateMode="Conditional" ChildrenAsTriggers="true">
    
    <ContentTemplate>
        <asp:ListView ID="lvComments" runat="server" DataSourceID="dsComments">