Hi, is anybody else seeing this under Visual Studio 2012 when calling the UltraGrid's DeleteSelectedRows(true)? Running 2012.1 and under VS 2010 it's ok.
Hi Ihardtke,
You may disable this prompt by hooking into the BeforeRowsDeleted event handler of the UltraGrid and access the DisplayPromptMsg property exposed from within the event arguments, you will need to set this property to false.
Example:
void ultraGrid1_BeforeRowsDeleted(object sender, BeforeRowsDeletedEventArgs e) { e.DisplayPromptMsg = false; }
If you have any further questions, please let me know.
Sincerely,Chris KDeveloper Support EngineerInfragistics, Inc.www.infragistics.com/support
The prompt is fine and I want it. The screenshot is showing that the message text and buttons are getting cut off under 2012, but not 2010. Is this an UltraWinGrid bug???
I should mention, my apology, we're using 12.1.20121.2054.
Hi,
I could be wrong, but I think this was a known bug that was fixed. The latest service release is build 2082, so you may need to upgrade.
How to get the latest service release - Infragistics Community
Upon further investigation, it looks like this is a bug in the DotNet framework.The issue has been reported to Microsoft here:
WinForm dialogs displayed differently by *.vshost.exe and *.exe using VS 2012 when FormBorderStyle set in form codebehind | Microsoft Connect
There's nothing we can do about it, but the good news is that it only happens when the Debugger is attached, so it will not affect your clients using your app.