﻿<?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 - WebGrid Enterprise - Webgrid keeping focus while a modal is active</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-keeping-focus-while-a-modal-is-active/</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>Webgrid keeping focus while a modal is active</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-keeping-focus-while-a-modal-is-active/</link><pubDate>Tue, 24 Jan 2017 19:38:39 GMT</pubDate><dc:creator>JamesM</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;As I have still not received a response regarding this issue, I went ahead and added to my example. I have tested SweetAlert2 and SkinnyJs, and both have the same issues as Bootstrap. My current project has a more urgent need for these modals and as such I need a solution to this problem.&lt;/p&gt;&lt;p&gt;Please let me know what you recommend.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Webgrid keeping focus while a modal is active</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Webgrid-keeping-focus-while-a-modal-is-active/</link><pubDate>Fri, 25 Nov 2016 16:00:49 GMT</pubDate><dc:creator>JamesM</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I have been trying to impliment a modal dialog into my code, but have found that if I open the dialog from the WebGrid's context menu the user can still navigate the grid with the arrow keys and even type in the filter fields. I was able to reproduce this issue with the OnBeforeDelete method, as you can see in my example below.&lt;/p&gt;&lt;p&gt;This issue does not happen on grid methods which do not use the context menu such as OnCellDoubleClick. This has lead me to believe the grid has code to retake focus once the context menu has closed and it is causing problems with the modal's functionality.&lt;/p&gt;&lt;p&gt;My example can be found here: https://www.dropbox.com/s/i05o8xy5tqr4znn/GridTestApplication.zip?dl=0&lt;/p&gt;&lt;p&gt;Please let me know how to proceed.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;James&lt;/p&gt;</description></item></channel></rss>