Case Sensitive Grouping

2 posts, 1 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 04 Apr Link to this post

    What is the default value for Case Sensitive Grouping.

    Hope its false.

    Andy

  2. Answer
    Peter Milchev
    Admin
    Peter Milchev avatar
    586 posts

    Posted 04 Apr Link to this post

    Hello Andy,

    The default value of the CaseSensitive property of the GroupingSettings is true, here is the source code showing that: 

    /// <summary>
    /// Gets or sets a value indicating whether the grouping operations will be case
    /// sensitive or not.
    /// </summary>
    /// <value>
    ///     <strong>true</strong> if grouping is case sensitive, otherwise
    /// <strong>false</strong>. The default value is <strong>true</strong>.
    /// </value>
    [DefaultValue(true), NotifyParentProperty(true)]
    public bool CaseSensitive
    {
        get
        {
            object res = this.ViewState["_cs"];
            if (res == null)
            {
                res = true;
            }
     
            return (bool) res;
        }
        set { this.ViewState["_cs"] = value; }
    }

    Regards,
    Peter Milchev
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top