<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xceed.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'ComboBox', 'CommittingEdit', and 'MessageBox'</title><link>http://xceed.com/CS/search/SearchResults.aspx?o=DateDescending&amp;tag=ComboBox,CommittingEdit,MessageBox&amp;orTags=0</link><description>Search results matching tags 'ComboBox', 'CommittingEdit', and 'MessageBox'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Browser freezes when MessageBox displayed during DataGridCollectionViewSource.CommittingEdit event handler while CellEditor ComboBox active</title><link>http://xceed.com/CS/forums/post/22960.aspx</link><pubDate>Tue, 28 Jul 2009 19:37:13 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:22960</guid><dc:creator>Neo</dc:creator><description>&lt;P&gt;I have a column defined as thus:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size=1&gt;&amp;lt;xcdg:Column&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xcdg:Column.CellEditor&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:CellEditor&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:CellEditor.EditTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ComboBox ItemsSource="{x:Static local:MyClass.MyValues}"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SelectedValue="{xcdg:CellEditorBinding}" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:CellEditor.EditTemplate&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:CellEditor&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xcdg:Column.CellEditor&amp;gt;&lt;BR&gt;&amp;lt;/xcdg:Column&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR&gt;I have the following event handlers for the DataGridCollectionViewSource for the DataGridControl containing the above Column.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size=1&gt;void DataGridCollectionViewSource_BeginningEdit(object sender, DataGridItemCancelEventArgs e)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Handled = true;&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size=1&gt;void DataGridCollectionViewSource_CommittingEdit(object sender, DataGridItemCancelEventArgs e)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show("Hello");&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Handled = true;&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" size=1&gt;void DataGridCollectionViewSource_CancelingEdit(object sender, DataGridItemHandledEventArgs e)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Handled = true;&lt;BR&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR&gt;The problem I am having is that if I attempt to edit an existing row and drop down the ComboBox of the above column and select a value, if I then immediately attempt to commit the change by clicking away from the row or pressing 'Enter', the browser hangs and must be killed from Task Manager. The problem occurs when the MessageBox is shown in the CommittingEdit event handler. If I click another column in the row being edited before committing the change, this doesn't happen. It seems that it is due to the ComboBox being active when the MessageBox attempts to display that causes the problem. Interestingly, the problem &lt;STRONG&gt;doesn't&lt;/STRONG&gt; occur if I do this with a new row using the insertion row, it only happens when editing existing rows.&lt;/P&gt;
&lt;P&gt;This seems like a bug. I am using Internet Explorer 8.&lt;/P&gt;
&lt;P&gt;Could this please be looked at and let me know if there's a workaround or a fix?&lt;/P&gt;
&lt;P&gt;Many thanks,&lt;BR&gt;Jason&lt;/P&gt;</description></item></channel></rss>