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

Can't Enter a Space in Filter TextBox With Muti-Selection & KeyBoard Navigation Enabled

6 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
loowool
Top achievements
Rank 2
loowool asked on 05 Apr 2009, 11:04 AM
Dear Telerik,

I have a grid Q42008 with filters enabled, mutli row select enabled, and keyboard navigation enabled. Pressing the SpaceBar selects/unselects a row. But when entering a filter value, the SpaceBar selects/unselects the active row, and it does not insert a space in the filter text box instead. Note: All other characters work fine, and appear n the filter text box, except the space.

Any Ideas of how to solve this?

Regards,
Salah Malaeb

6 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 08 Apr 2009, 07:12 AM
Hello loowool,

I tested the setup which you mentioned, and the control behaved as expected.
Attached to this message, you will find the code, which I used for testing. Please, take a look at it and let me know how it goes and if any other questions arise.

Greetings,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
loowool
Top achievements
Rank 2
answered on 12 Apr 2009, 01:47 PM
Thanks Yavor for you reply.

I downloaded your code, and ran it. It works. BUT: You did not enable the 

<

 

ClientSettings AllowKeyboardNavigation="True" Selecting-AllowRowSelect="true">
and

 

 

<telerik:RadGrid IAllowMultiRowSelection="true"...

When you do as below, you will generate the problem:

 

            <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" PageSize="20" Width="99%" 
                AutoGenerateColumns="False" ShowStatusBar="True" AllowAutomaticDeletes="True" AllowMultiRowSelection="true" 
                AllowAutomaticInserts="True" AllowAutomaticUpdates="True" DataSourceID="AccessDataSource1" 
                OnItemCommand="RadGrid1_ItemCommand" OnPreRender="RadGrid1_PreRender" AllowFilteringByColumn="True">          
                <MasterTableView TableLayout="Fixed" NoMasterRecordsText="No Records at this time. Please, filter the control..." 
                    CommandItemDisplay="TopAndBottom" GridLines="None" DataSourceID="AccessDataSource1" 
                    DataKeyNames="OrderID" CellSpacing="-1" >              
                    <Columns> 
                        <telerik:GridEditCommandColumn> 
                        </telerik:GridEditCommandColumn> 
                        <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" HeaderText="OrderID" 
                            ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">  
                        </telerik:GridBoundColumn>                   
                        <telerik:GridBoundColumn DataField="CustomerID" ColumnEditorID="Editor1" 
                            HeaderText="CustomerID" SortExpression="CustomerID" UniqueName="CustomerID">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="EmployeeID" DataType="System.Int32" HeaderText="EmployeeID" 
                            SortExpression="EmployeeID" UniqueName="EmployeeID">  
                        </telerik:GridBoundColumn>                        
                    </Columns> 
                    <EditFormSettings> 
                        <EditColumn UniqueName="EditCommandColumn1">  
                        </EditColumn> 
                    </EditFormSettings> 
                </MasterTableView> 
                  
                <ClientSettings AllowKeyboardNavigation="True" Selecting-AllowRowSelect="true">                  
                </ClientSettings> 
                  
            </telerik:RadGrid> 
 

Regards,
Salah A. Malaeb

0
Yavor
Telerik team
answered on 14 Apr 2009, 09:28 AM
Hi loowool,

I double tested the sample, applying all the settings you mentioned. The control behaved as expected.
Attached to this message, is the modified sample. Please, give it a try and let me know if I am leaving something out.

Greetings,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
loowool
Top achievements
Rank 2
answered on 14 Apr 2009, 11:09 AM
Thanks Yavor,

Maybe I need to be clearer. Below is a step-by-step to re-produce the problem on the same project that you've sent me:

  1. Run the project that you've sent me
  2. Click on the Grid to activate it
  3. Click the down arrow few times
  4. Press the space bar to select some rows
  5. Click on the Filter text box
  6. Try to enter a space in the filter
  7. The active row will be unselected/selected and no space can be entered in the filter

Salah

0
Yavor
Telerik team
answered on 14 Apr 2009, 11:53 AM
Hello loowool,

Indeed, following these steps replicates the issue. I will investigate the problem in greater detail, and update this thread accordingly.

Regards,
Yavor
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Yavor
Telerik team
answered on 05 May 2009, 06:07 AM
Hi loowool,

As a follow-up on the issue at hand, this has been recognized as a bug, and has been forwarded to our dev team. It will be addressed for one of the upcoming versions of the control.

All the best,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
loowool
Top achievements
Rank 2
Answers by
Yavor
Telerik team
loowool
Top achievements
Rank 2
Share this question
or