コード例 #1
0
        /// <summary>
        /// Used to get the RowLimitDefinition of a view.
        /// </summary>
        /// <returns>A constructed RowLimitDefinition instance.</returns>
        protected RowLimitDefinition GetAvailableRowLimitDefinition()
        {
            RowLimitDefinition rowLimitDefinition = new RowLimitDefinition();

            rowLimitDefinition.Value = int.Parse(Common.GetConfigurationPropertyValue("AvailableRowLimit", this.Site));
            rowLimitDefinition.Paged = Common.GetConfigurationPropertyValue("IsRowPaged", this.Site);
            return(rowLimitDefinition);
        }
コード例 #2
0
 /// <summary>
 /// Used to get the RowLimitDefinition of a view.
 /// </summary>
 /// <returns>A constructed RowLimitDefinition instance.</returns>
 protected RowLimitDefinition GetAvailableRowLimitDefinition()
 {
     RowLimitDefinition rowLimitDefinition = new RowLimitDefinition();
     rowLimitDefinition.Value = int.Parse(Common.GetConfigurationPropertyValue("AvailableRowLimit", this.Site));
     rowLimitDefinition.Paged = Common.GetConfigurationPropertyValue("IsRowPaged", this.Site);
     return rowLimitDefinition;
 }