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

7 posts, 0 answers
  1. loowool
    loowool avatar
    60 posts
    Member since:
    Sep 2006

    Posted 05 Apr 2009 Link to this post

    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
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 08 Apr 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. loowool
    loowool avatar
    60 posts
    Member since:
    Sep 2006

    Posted 12 Apr 2009 Link to this post

    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

  5. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 14 Apr 2009 Link to this post

    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.
  6. loowool
    loowool avatar
    60 posts
    Member since:
    Sep 2006

    Posted 14 Apr 2009 Link to this post

    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

  7. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 14 Apr 2009 Link to this post

    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.
  8. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 05 May 2009 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017