/// <summary>
    /// Loads the properties to the given button
    /// </summary>
    /// <param name="prefix">Property prefix</param>
    protected void LoadButton(UniButton btn, string prefix)
    {
        btn.ShowAsButton = ValidationHelper.GetBoolean(GetValue(prefix + "ShowAsButton"), btn.ShowAsButton);
        btn.LinkText     = GetStringValue(prefix + "Text", btn.LinkText);
        btn.ImageUrl     = GetStringValue(prefix + "Image", btn.ImageUrl);

        string cssClass = GetStringValue(prefix + "CssClass", btn.CssClass);

        if (!String.IsNullOrEmpty(cssClass))
        {
            btn.CssClass = cssClass;
        }
    }
    /// <summary>
    /// Loads the properties to the given button
    /// </summary>
    /// <param name="prefix">Property prefix</param>
    protected void LoadButton(UniButton btn, string prefix)
    {
        btn.ShowAsButton = ValidationHelper.GetBoolean(GetValue(prefix + "ShowAsButton"), btn.ShowAsButton);
        btn.LinkText = GetStringValue(prefix + "Text", btn.LinkText);
        btn.ImageUrl = GetStringValue(prefix + "Image", btn.ImageUrl);

        string cssClass = GetStringValue(prefix + "CssClass", btn.CssClass);
        if (!String.IsNullOrEmpty(cssClass))
        {
            btn.CssClass = cssClass;
        }
    }