New to Telerik UI for WinForms? Download free 30-day trial

Working with RadBrowseEditor

The events defined in RadBrowseEditor provide an easy way to track user input and perform validation. The example handles such scenario.

Cancel ValueChanging Event

private void radBrowseEditor1_ValueChanging(object sender, ValueChangingEventArgs e)
{
    e.Cancel = !File.Exists(e.NewValue.ToString());
}

Private Sub RadBrowseEditor1_ValueChanging(sender As Object, e As Telerik.WinControls.UI.ValueChangingEventArgs)
    e.Cancel = Not System.IO.File.Exists(e.NewValue.ToString())
End Sub

See Also

In this article