This is a migrated thread and some comments may be shown as answers.

Can not type while in Edit Mode?

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 2
Stefan asked on 11 Jun 2013, 08:08 PM
I have a rad grid I am creating the columns programtically but the grid is setup static.  Whenever I do an inline edit the textbox pops up in the cell I want to edit but I can NOT type in the box.  If I right click and do a select all then I can type in the box but other than that the box will not Get Focus with the mouse or the keyboard despite the fact it is in edit mode?

This seems to be a rare event I could not find a solution on the net.  I am hoping it is something simple cause this one seems like a hard one.

                                   <ContentTemplate>
                                        <telerik:RadGrid ID="dgCompDetails" runat="server" AutoGenerateColumns="False" BorderStyle="Solid" CellSpacing="0" GridLines="None" Skin="Sitefinity">
                                            <ClientSettings>
                                                <Selecting CellSelectionMode="SingleCell" />
                                            </ClientSettings>
                                            <MasterTableView AllowNaturalSort="False" EditMode="InPlace" AllowAutomaticUpdates="True">
                                                <CommandItemSettings ExportToPdfText="Export to PDF" />
                                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                                </RowIndicatorColumn>
                                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                                </ExpandCollapseColumn>
                                                <EditFormSettings>
                                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                                    </EditColumn>
                                                </EditFormSettings>
                                                <PagerStyle PageSizeControlType="RadComboBox" />
                                            </MasterTableView>
                                            <PagerStyle PageSizeControlType="RadComboBox" />
                                            <FilterMenu EnableImageSprites="False">
                                            </FilterMenu>
                                        </telerik:RadGrid>
                                    </ContentTemplate>

'Code behind creation of columns

            boundColumn = New GridBoundColumn()
            dgCompDetails.MasterTableView.Columns.Add(boundColumn)
            boundColumn.DataField = "ippComponentSrcValue"
            boundColumn.UniqueName = "dgippComponentSrcValue"           
            boundColumn.Display = True
            boundColumn.HeaderText = "Value"



1 Answer, 1 is accepted

Sort by
0
Stefan
Top achievements
Rank 2
answered on 11 Jun 2013, 08:48 PM
Nevermind, I found the issue.  Apparently CellSelectionMode and EnableDragToSelectRow were having a confict that would not let you enter a cell while in editmode of the grid.
Tags
Grid
Asked by
Stefan
Top achievements
Rank 2
Answers by
Stefan
Top achievements
Rank 2
Share this question
or