Sunday, September 13, 2009

Silverlight chess board 1.4

I released version 1.4 of the Silverlight chess board with the following updates:

  • Added support for international characters in PGN files (according to the PGN standard section 4.1, a subset of ISO 8859/1 Latin 1 is used).
  • Added a new parameter "piece" to allow customized piece characters used in the notation, instead of the English ones used by default.
  • Better error message when a PGN file was not found.
  • Put in a work around for an IE8 standard modes bug, which caused the notation not to wrap lines correctly in some cases.
  • You can find the updated documentation at the Silverlight chess board home page.

    Tuesday, September 01, 2009

    Validation and the ModalPopupExtender

    Two quick tips if you are using the ModalPopupExtender from the ASP.NET Ajax control toolkit:

    • If you need to do a postback from inside the panel set as your popup control, wrap the contents of the panel into an UpdatePanel.
    • If you add validation controls inside the panel set as your popup control, make sure the button used as the target control has CausesValidation set to false.