Inline Editing button Issue in RadGrid

5 posts, 0 answers
  1. Rk.MooRthy(DLL Version : 2008.3.1314.35)
    Rk.MooRthy(DLL Version : 2008.3.1314.35) avatar
    21 posts
    Member since:
    Jun 2013

    Posted 30 Jul 2013 Link to this post

    Hi,
    I have one telerik radgrid and one next click button on top of the grid(button for go to next page). Grid has some rows with inline editing..If i click the edit button, edit option(text box) will be open, Here if i type anything in that box and click enter button it will go to next button instead of firing edit button..
    Can u anyone help me..?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 30 Jul 2013 Link to this post

    Hi Rk,

    I'm not clear with your requirement.I guess you are editing using inline edit and using keyboard Enter to fire the event.
    Here is a small code I tried with edit and keyboard navigation.Please elaborate on your requirement if this doesn't help.

    ASPX:
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" >
        <MasterTableView EditMode="InPlace">
            <Columns>
                <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn>
                <telerik:GridBoundColumn UniqueName="OrderID" DataField="OrderID" HeaderText="OrderID" />
                <telerik:GridBoundColumn DataField="ShipCity" HeaderText="ShipCity" UniqueName="ShipCity" />
            </Columns>
        </MasterTableView>
        <ClientSettings AllowKeyboardNavigation="true">
        <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true" />
        </ClientSettings>
    </telerik:RadGrid>

    Thanks,
    Princy
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rk.MooRthy(DLL Version : 2008.3.1314.35)
    Rk.MooRthy(DLL Version : 2008.3.1314.35) avatar
    21 posts
    Member since:
    Jun 2013

    Posted 30 Jul 2013 Link to this post

    Hi Princy,

    Think so it is not applicable in my version (DLL Version : 2008.3.1314.35).
    <KeyboardNavigationSettings EnableKeyboardShortcuts="true" AllowSubmitOnEnter="true" />

    Here "keyboardnavigationsettings" is not supported..

    Thanks
    -Rk.MooRthy
  5. Rk.MooRthy(DLL Version : 2008.3.1314.35)
    Rk.MooRthy(DLL Version : 2008.3.1314.35) avatar
    21 posts
    Member since:
    Jun 2013

    Posted 01 Aug 2013 Link to this post

    Hi, 
    Can you anyone help me regarding this issue...?

    Or Tell me the alternate solution for this issue...

    -Rk.MooRthy
  6. Andrey
    Admin
    Andrey avatar
    836 posts

    Posted 02 Aug 2013 Link to this post

    Hello,

    As Princy pointed out one of the solutions is to use keyboard navigation for RadGrid. However, for this approach to work you will need to upgrade to the latest version.

    Another approach is to find the control and hook its OnKeyPress event and to manually handle the case for the Enter key. Thus you will be able to define whatever behavior you need.

    Regards,
    Andrey
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017