navigation
 Tuesday, June 30, 2009
One feature I really like in Telerik’s WinForms RadGrid control is the ability to save and load layout information using the Serialization API. It’s nice to be able to to persist appearance and other settings in XML format, so that they can be restored later and provide a more consistent feel for the user. In this blog, learn how to save a non-typical setting: Summary Row formatting.
 |  | 
posted on June 30, 2009  #    by Rachel Hagerman  Comments [0]
 Tuesday, June 23, 2009

Today, Falafel Software released the latest edition of its successful courseware material of TestComplete for the new 7.0 version.  The courseware contains several new editions in many chapters and new chapters for Keyword Testing, one of the most exciting new features of TestComplete 7, and Web Testing as well.  The book can be purchased on Lulu and it comes in spiral binding format for ease of use during labs and script exercises.  The book is used as the main material for all TestComplete trainings (online, onsite & Summit) in the USA, Europe and Australia.

For more information about TestComplete training please contact AutomatedQA at sales@automatedqa.com or Falafel Software at training@falafel.com

TC7_cover
posted on June 23, 2009  #    by Lino Tadros  Comments [0]
 Tuesday, June 09, 2009
If you are using conditional directives in your C# code, you know that you can't set a breakpoint on any code within the directives using Visual Studio. Thankfully, you can add a breakpoint programmatically:

#if MYSYMBOL
#if DEBUG
System.Diagnostics.Debugger.Break();
#endif
DoSomethingForMySymbol();
#else
#if DEBUG
System.Diagnostics.Debugger.Break();
#endif
DoSomethingForEverythingElse();
#endif

System.Diagnostics.Debugger.Break() can only be called in Debug mode, so make sure you wrap it in a #if DEBUG check first. Good luck!


posted on June 9, 2009  #    by Brad Divine  Comments [0]
 Friday, June 05, 2009
Here's a handy little tip for those of you using DataGrids or something similar, for instance, the Telerik RadGrid control. If you want to allow the user to double-click on a row to do something (edit the row, for example), implement the CellDoubleClick event handler for the grid and put your code in there. If you do this, then double-clicks in the column header will also fire the event; this can happen if a user clicks the header too quickly while trying to sort. To prevent this, add code to check e.RowIndex. If the user double-clicked on a header, e.RowIndex will = -1.
posted on June 5, 2009  #    by Brad Divine  Comments [0]
 Monday, June 01, 2009
When programming for Windows, you'll sometimes want a container object (a form, a panel, etc.) to handle certain events, such as MouseOver, MouseMove, MouseUp, MouseDown, etc. But what happens if you have other controls in the container? You could write event handlers for each of those controls, but that seems like a lot of duplication of effort. One solution to this problem is to send the child control's events that you'd like to capture to the event handlers of the container
 | 
posted on June 1, 2009  #    by Brad Divine  Comments [0]