fire Radgrid Selectedindexchange on Up/down arrow keys click

Thread is closed for posting
2 posts, 0 answers
  1. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 11 Aug 2014 Link to this post


    How to fire Radgrid Selectedindexchange event  on Arrow  Up/down keys press click event

    I want to assign Radgrid cells value to  corresponding textboxex on up/dpwn arrow keys press


  2. Eyup
    Eyup avatar
    2941 posts

    Posted 13 Aug 2014 Link to this post

    Hi Sawan,

    Generally, if you have AllowKeyboardNavigation enabled, you can access the active row element the following event handler:
    <ClientSettings AllowKeyboardNavigation="true">
        <ClientEvents OnKeyPress="keyPress" />
    function keyPress(sender, args) {
        setTimeout(function () {
            var rowEl = sender._activeRow;
            if (rowEl) {
                // execute custom logic
        }, 2);

    In addition, I am sending a sample RadGrid web site to demonstrate how you can use the findControl and findElement methods to access any given element within the row element.

    Hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top