﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><pubDate>Wed, 20 Jul 2011 14:46:21 GMT</pubDate><dc:creator>Riendy</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;p&gt;Hi Balachander,&lt;/p&gt;&lt;p&gt;It was awesome, you solve it by your self very well.&lt;/p&gt;
&lt;p&gt;&lt;strong style="color: rgb(63, 63, 63); font-size: 12px; font-style: italic; line-height: 18px; font-family: 'segoe ui', arial, verdana, tahoma; "&gt;"The UXGridView is normally used for Data Entry Forms and hence operation without resorting to mouse would be a great advantage in terms of speed of Data Entry"&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This a good suggestion. As a data entry forms, users will more frequently use the keyboard instead of mouse, so it would be very advantageous if data entry processes such as SaveCommand can be done only with KeyBoard by using the shortCut. I will forward your suggestion to our development team.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much Balachander.&lt;br /&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><pubDate>Wed, 20 Jul 2011 07:26:02 GMT</pubDate><dc:creator>mlcmds</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;p&gt;Hi Riendy,&lt;/p&gt;
&lt;p&gt; As a workaround I have managed to achieve the above using the following&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;In the template for UXGridView using Devforce you have a abstract class &lt;span style="color: #2b91af"&gt;EditableGridViewModelBase&lt;/span&gt;&lt;/li&gt;&lt;li&gt;This implements all the commands on the UXGridView&lt;/li&gt;&lt;li&gt;Modified this class to expose a property InputBindingCollection&lt;/li&gt;&lt;li&gt;Within the abstract class I have added a KeyBinding to the SaveChanges and Reject Changes command&lt;/li&gt;&lt;li&gt;In my Xaml Code Behind Initialize ctor use the CommandManager.SetInputBindings method to bind the property InputBindingCollection to the Grid.&lt;/li&gt;&lt;/ul&gt;&lt;/span&gt;
&lt;p&gt;This does precisely what I wanted viz. Binding a KeyBoard combination Ctrl&amp;#43;Shift&amp;#43;S to the save command.&lt;/p&gt;
&lt;p&gt;The above can also be achieved in the XAML by the below code by binding the SaveChangesCommand exposed by the viewmodel.&lt;/p&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: green"&gt;&amp;lt;Grid.Resources&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;	&amp;lt;Intersoft:CommandReference x:Key="SaveCommand"&lt;/span&gt;
&lt;span style="color: green"&gt;			Command="{Binding SaveChangesCommand}" /&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;&amp;lt;/Grid.Resources&amp;gt;--&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;&amp;lt;Intersoft:CommandManager.InputBindings&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;	&amp;lt;Intersoft:InputBindingCollection&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;		&amp;lt;Intersoft:KeyBinding Command="{StaticResource SaveCommand}"&lt;/span&gt;
&lt;span style="color: green"&gt;			  Gesture="Control&amp;#43;Shift&amp;#43;S" /&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;	&amp;lt;/Intersoft:InputBindingCollection&amp;gt;&lt;/span&gt;
&lt;span style="color: green"&gt;&amp;lt;/Intersoft:CommandManager.InputBindings&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Balachander&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><pubDate>Wed, 20 Jul 2011 02:00:01 GMT</pubDate><dc:creator>mlcmds</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;blockquote&gt;&lt;p&gt;Hi Riendy,&lt;/p&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Yes I did mean customize the keystroke to Save command like ctrl &amp;#43; s&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;You have already provided that for edit F2, Reject edit Esc, Enter to enter Edit Mode etc...&lt;/li&gt;
&lt;li&gt;Arrow Keys for moving across records and Fields much like excel interface&lt;/li&gt;
&lt;li&gt;It is very good and intutive.... &lt;strong&gt;Great Job on the UxGridview especially managing CUD with very little code&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The UXGridView is normally used for Data Entry Forms and hence operation without resorting to mouse would be a great advantage in terms of speed of Data Entry&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Hence the request for mapping Both Save and Reject Changes operation which comes up in the form of a Tick Mark and a Cross Mark at the bottom of the grid.&lt;/li&gt;
&lt;li&gt;Customization of the keystroke mapping would be very helpful like your RoutedUICommand where we can map KeyGestures...&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Also would be very helpful if you can provide ShortCutKeys&amp;nbsp;for Movement across Tabs and fields / Activating Buttons much like how in Microsoft Excel when we press Alt key&amp;nbsp;all the Shortcuts become visible !!&lt;/strong&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Balachander&lt;/p&gt;&lt;p&gt;Hi Balachander,&lt;br /&gt;&lt;br /&gt;Did you mean customize the keystroke to trigger SaveCommand in UXGridView ? For example, ctrl&amp;#43;s to save the changes ? So far, we do not provide a property to customize the SaveCommand. We also cannot set the KeyStroke manually to trigger SaveCommand.&lt;br /&gt;Would you please describe me more detail about your scenario ? If this is a common scenario, maybe our development team will consider it as user experience, so they will provide a property to handle your scenario.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;&lt;/blockquote&gt;
</description></item><item><title>UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><pubDate>Tue, 19 Jul 2011 10:59:19 GMT</pubDate><dc:creator>Riendy</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;p&gt;Hi Balachander,&lt;br /&gt;&lt;br /&gt;Did you mean customize the keystroke to trigger SaveCommand in UXGridView ? For example, ctrl&amp;#43;s to save the changes ? So far, we do not provide a property to customize the SaveCommand. We also cannot set the KeyStroke manually to trigger SaveCommand.&lt;br /&gt;Would you please describe me more detail about your scenario ? If this is a common scenario, maybe our development team will consider it as user experience, so they will provide a property to handle your scenario.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>UXGridView How To Add Keyboard Binding to Save Command </title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXGridView-How-To-Add-Keyboard-Binding-to-Save-Command/</link><pubDate>Tue, 19 Jul 2011 04:20:16 GMT</pubDate><dc:creator>mlcmds</dc:creator><category>ClientUI</category><category>uxgridview</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you kindly explain with an example how to achieve keyboard binding to the SaveCommand in a UXGridView.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Balachander&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>