Version

SetInvalidCellProxyData Method (WinGridCellProxyRecordReplayServer)

Set invalid data into a GridCellProxy control
Syntax
'Declaration
 
Public Sub SetInvalidCellProxyData( _
   ByVal strValue As System.String _
) 
public void SetInvalidCellProxyData( 
   System.string strValue
)

Parameters

strValue
String representation of the data value to set the GridCellProxy to.
Remarks
SetInvalidCellProxyData is intended to reproduce entering invalid data through the UI into an editor. As such editors that are incapable of entering invalid data through the UI will not work with this method. As a rule of thumb any editor that has editable text, such as those that derive from EditorWithText and EditorWithMask are the only ones that you should use this method for. The reason as to why there are separate actions for valid and invalid data is because SetCellData sets the value directly which if invalid data is set that way it will trigger an incorrect order of events, which in some fringe case scenarios can cause unexpected results. Use SetInvalidCellProxyData if you know that your data will trigger the CellDataError event.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also