Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DevExpress Gridview Enter to trigger update event

Posted on 2013-06-05
3
1,526 Views
Last Modified: 2013-06-17
Can anyway give me a code example for the following

DevExpress Gridview.

Enter key to trigger update when in edit mode and then trigger insert.
Esc key to trigger cancel when in insert mode.

Many thanks
0
Comment
Question by:ajdarlow
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Ioannis Paraskevopoulos earned 500 total points
ID: 39225041
Hi,

You may check this:
http://www.devexpress.com/Support/Center/Example/Details/E352

It actually uses jscript in order to know what key was pressed, and if it is an "Enter" key (13) then it calls UpdateEdit, if "ESC" was pressed (27) then it calls CancelEdit.

Hope this helps.

Giannis
0
 

Author Comment

by:ajdarlow
ID: 39245329
Hi jyparask

I had tried this example before but with no luck.

However my Java script knowledge is growing daily.

That said I still cannot get it to work.

Have raised a ticket with DE so fingers crossed.

Will return when I get an answer from them.
0
 

Author Closing Comment

by:ajdarlow
ID: 39253930
Thanks, finally got it working.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question