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

Update the item when i press the enter key when the item is in edit mode have some text boxes

3 Answers 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tatarao
Top achievements
Rank 1
Tatarao asked on 14 Feb 2014, 06:56 AM
Hi,

how to update the item when i press the enter key from the key board if the item is in edit mode and has some text boxes to enter.

need navigation between the text boxes when i press the enter key and then update the item, if  item is in edit mode.

could you please provide me the some solution for the above issue.

navigation between the text boxes and update the item when i press the enter key 

Thanks,
Tatarao .N

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Feb 2014, 07:49 AM
Hi Tatarao,

You can enable the Grid's Keyboard Navigation in the ClientSettings to achieve your requirement:

ASPX:
<ClientSettings AllowKeyboardNavigation="true" KeyboardNavigationSettings-AllowSubmitOnEnter="true">
</ClientSettings>

Thanks,
Princy
0
QAMAR
Top achievements
Rank 1
answered on 05 May 2014, 10:52 AM
Hello,
I have same issue in my tree list. I did:
 <ClientSettings AllowKeyboardNavigation="True">
                       <KeyboardNavigationSettings AllowSubmitOnEnter="True" />
                  </ClientSettings>
But it hit on my Page_Load method where I have 
if(IsPostBack) return;
I want it to go to RadTreeList1_UpdateCommand.. any suggestion?


0
Princy
Top achievements
Rank 2
answered on 05 May 2014, 01:00 PM
Hi QAMAR,

Please have look into this online demo to achieve your scenario. In order to achieve your scenario try to set the KeyboardNavigationSettings-AllowActiveRowCycle property of RaTreeList to false.

Thanks,
Princy.
Tags
Grid
Asked by
Tatarao
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
QAMAR
Top achievements
Rank 1
Share this question
or