简体   繁体   中英

Unable to fill the edit texbox of a aspxgridview inside another aspxgridview

I have a ASPxGridView with a popup edit form which contains another ASPxGridView. When i open the edit form i can see the ASPxGridView i can click on add and then there appears a texbox to fill with a name. When i click on that textbox nothing happens in Opera 11 and i cannot enter anything in the textbox. When i tried to do the same on FireFox 4 i did get a cursor but i was not able to input any text either. Then i tried Chrome 10.0.648.204 but that did the same as Opera and somehow IE 9 gives me a HTTP Error 400 - Bad Request which is kinda weird as it is the only browser with that error. This is made up out of 2 DevExpress gridviews.

I am not sure what code is causing this but here is the "sub"gridview:

<dx:GridViewDataTextColumn Visible="False" VisibleIndex="14" 
        Caption="Parameter(s)" FieldName="ASPxGV3">
        <EditFormSettings Visible="True" />
        <EditItemTemplate>
            <dx:ASPxGridView ID="ASPxGridView3" runat="server" ClientIDMode="AutoID" 
                AutoGenerateColumns="False">
                <Columns>
                    <dx:GridViewCommandColumn VisibleIndex="0">
                        <EditButton Visible="True">
                        </EditButton>
                        <NewButton Visible="True">
                        </NewButton>
                        <DeleteButton Visible="True">
                        </DeleteButton>
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn Caption="Naam" Name="Naam" VisibleIndex="0">
                    </dx:GridViewDataTextColumn>
                </Columns>
            </dx:ASPxGridView>
        </EditItemTemplate>
    </dx:GridViewDataTextColumn>

You should set the FieldName property of the column to make it editable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM