while clicking on escape i want close my childwindow in silverlight

Posted by Suneel161 under Silverlight on 4/29/2011 | Points: 10 | Views : 3072 | Status : [Member] | Replies : 1
after clicking on "escape" key i want to close my childwindow in silverlight


Posted by: Ndebata on: 4/29/2011 [Member] Starter | Points: 25


Try to add KeyUp/KeyDown event in the childwindow, where you check for the Escape key and close the childwindow.

To close a child window programmatically, you can either set the DialogResult value as false or call the Close method. Setting the DialogResult value will automatically call the Close method to close the child window

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response