Solved

DevExpress Gridview Enter to trigger update event

Posted on 2013-06-05
3
1,563 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
[X]
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
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

622 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