GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

Jimmy's Blog

  • Input Pro for Silverlight June 2009 is released!

    Several days ago we released Input Pro for Silverlight June 2009 - the first official release of this product. We believe this powerful input control suite will greatly enhance the input experience of your Silverlight applications and make the task of receiving and validating data from end users much easier.

     We've added several important features and fixed some bugs since the preview version was released. One of such features is the new FpElasticSlider control:

     

    It is the one used to change the edit value in date time and numeric controls. Unlike the standard slider control defining value range, FpElasticSlider controls the rate of change by firing Updating events in a frequency specified by the ball's offset from midpoint. The more offset, the more frequent. This makes the end users be able to easily change a value to a desired value by sliding. If you want to have a try, go to the demo page.

    Another useful new feature is validation states. Users can use MaxValue and MinValue to define the data range of Input Pro controls, or handle Validating event to do custom validation. When validation fails, the control will enter invalid state:

     

    We also added an AutoDropDown feature for date time controls. When you edit the text portion of date time controls, the calendar can automatically pop up and sync with the value change.

     

    Here I just list some of the new features. See more info about the product, check out Input Pro for Silverlight.

  • Introducing InputPro for Silverlight

    Data input and validation are essential part of almost all applications. A set of highly dependable and flexible input controls can relieve the burden of application developers and make them concentrate on the core business logic. InputPro for Silverlight is created to focus on data input and validation and tries to be such a control set in Silverlight.

    InputPro for Silverlight is a brand new product designed from scratch. We take time to design it and try to make it powerful but still easy-to-use. Our philosophy is make basic things easy and hard things possible. We hope this philosophy could result in consistent and concise interfaces and fluent input experience. Here are some highlights of the control set:

    • Fully support .NET format strings and format providers. We don't want to invent a new format language and force the user to learn it. The date time controls support both Standard Date and Time Format Strings and Custom Date and Time Format Strings, and the number controls support both Standard Numeric Format Strings and Custom Numeric Format Strings. DateTimeFormatInfo and NumberFormatInfo are also supported respectively to enable more flexible format control.
    • Internationalization and localization support. By utilizing .NET parsing and formatting, the controls are built-in culture-aware. The date time controls also have local calendar (Japanese currently) and timezone support.
    • Smart and fluent input experience. We did a lot of jobs to help the user enter a correct value fluently. Character filtering, smart caret movement, spinning, value slider etc. are all the helpers.
    • Unlimited and customizable undo/redo. We make every single edit operation undoable. The length of undo queue is unlimited (limited by the available memory) by default, but you can explicitly set a limit on it. You can also programmatically create a custom undo unit by calling the BeginChange and EndChange methods. Custom undo units behave same as other undo units.
    • Customizable parsing and formatting. If you are not satisfied with the default parsing and formatting, you can handle corresponding events to add your own parsing/formatting logic.
    • Customizable key/command binding. The commands include both basic keyboard operations (caret movement, text selection etc.) and useful shortcuts (spin, clear, drop-down etc.). There's a default binding key for each command, but you can also change it with your own.

    The first preview build of InputPro for Silverlight has been published. You can try the demo and download the build here. This build includes the following controls:

    Date time controls:

    • FpDateTime: value type is DateTime.
    • FpDateTimeOffset: value type is DateTimeOffset, a new added type since .NET Framework 2.0 sp1, recommended to be the default date and time type for application development by MSDN.

    Numeric controls:

    • FpDecimal: value type is Decimal.
    • FpDouble: value type is Double.
    • FpInteger: value type is Int32.
    • FpLongInteger: value type is Int64.

    Mask control:

    • FpMaskedTextBox
    Text control:
    • FpTextBox
    Controls to support the above controls:
    • FpCalculator
    • FpErrorReminder
    • FpSpinButton

    These controls are currently in Preview Quality Band and are open to feature requests and feedback. I'll write more about these controls in the following days. Your comments are important for us to make a better product. Please try the demo and tell us what you think about it:

    InputPro for Silverlight Demo Page