﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / WinForms (How do I?)  / Invalid Input in Browse Dialog / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 10:16:48 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Invalid Input in Browse Dialog</title><link>http://forum.strataframe.net/Topic16863-7-1.aspx</link><description>Yes, you will want to use a mask.  That is why it is avaialble on a search field item.  You can refer to the standard .NET help docs on this one as it is just a standard SF Masked Text box which inherits from a System.Windows.Forms.MaskedTextBox.  You could also drop one on a form and play with the masked settings until you get what you want and then apply that to your search field.  But more than likely you will want to supply:&lt;/P&gt;&lt;P&gt;[codesnippet]00000[/codesnippet] &lt;/P&gt;&lt;P&gt;as the mask.</description><pubDate>Fri, 06 Jun 2008 08:37:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Invalid Input in Browse Dialog</title><link>http://forum.strataframe.net/Topic16863-7-1.aspx</link><description>Is the answer the "field mask?"&lt;/P&gt;&lt;P&gt;If so, what mask would I use?  I currently have a 5 digit Order ID.  If I make the mask #####, then as soon as the ID hits six digits, I will have to rollout and update.  What mask will work here?&lt;/P&gt;&lt;P&gt;Or, is there another way?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Thu, 05 Jun 2008 14:19:35 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>Invalid Input in Browse Dialog</title><link>http://forum.strataframe.net/Topic16863-7-1.aspx</link><description>I have a sales order window with the standard, run-of-the-mill browse dialog.  It works fine.  The first search field in the search list is the Order ID.  This is an integer field.  The browse dialog presents a textbox control for the user to enter an Order ID.  If a user enters anything other than numeric characters (0-9), then the system generates two (2) identical exceptions: "Input string was not in a correct format."  This is quite frustrating for a number (pardon the pun) of reasons: 1)  The user gets slapped with a error handling event which shouldn't even be happening; 2)  I am being sent two trouble tickets for each single event that occurs.  3)  The application (not StrataFrame...I am positive that I am doing something wrong) looks like it cannot even handle simple data conversions at a very basic level.&lt;/P&gt;&lt;P&gt;:blink:&lt;/P&gt;&lt;P&gt;What do I do to solve this problem?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Thu, 05 Jun 2008 13:52:22 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>