当前位置: 代码迷 >> .NET组件控件 >> Dev ASPxGridView嵌套有关问题
  详细解决方案

Dev ASPxGridView嵌套有关问题

热度:75   发布时间:2016-05-04 23:21:29.0
Dev ASPxGridView嵌套问题
<dx:ASPxGridView ID="ASPxGridView2" runat="server"
                                        AutoGenerateColumns="False"  KeyFieldName="BoxNumberNo">
                                        <SettingsBehavior AllowSelectByRowClick="true" />
                                        <SettingsPager Visible="False">
                                        
                                        </SettingsPager>
                                        <SettingsDetail ShowDetailRow="true" AllowOnlyOneMasterRowExpanded="true" />
                                        <Templates>
                                            <DetailRow>
                                           
                                               <SettingsDetail IsDetailGrid="true" />
                                                                    <dx:ASPxGridView ID="DetailView" runat="server" OnDataBinding="true" 
                                                                      OnBeforePerformDataSelect="DetailSelect" >

                                                                            <dx:GridViewDataTextColumn Caption="名称" FieldName="" Name="CaseNo" 
                                                                                VisibleIndex="1">
                                                                            </dx:GridViewDataTextColumn>
                                                                            <dx:GridViewDataTextColumn Caption="数量" FieldName="" Name="CaseNo" 
                                                                                VisibleIndex="2">