protected virtual void CheckStore() { if (this.IsDynamic && !string.IsNullOrEmpty(this.StoreID)) { return; } if (this.GetStore() == null) { throw new StoreNotFoundException("Please define a store for the GridPanel with ID='" + this.ID + "'"); } }