/// <summary>
        /// Binds the outstanding picklists.
        /// </summary>
        private void BindOutstandingPicklists()
        {
            if (lkMode.EditValue != null)
            {
                BLL.Order ord = new BLL.Order();
                // Get orders which have a pick list generated
                gridOutstandingPickLists.DataSource = ord.GetPickListedOrders(CurrentContext.UserId, Convert.ToInt32(lkMode.EditValue));

                gridOutstandingPicklistDetail.DataSource = null;
                // Expand the groups
                gridOutstandingPickListView.ExpandAllGroups();
            }
        }
        /// <summary>
        /// Binds the outstanding picklists.
        /// </summary>
        private void BindOutstandingPicklists()
        {
            if (lkMode.EditValue != null)
            {
                BLL.Order ord = new BLL.Order();
                // Get orders which have a pick list generated
                gridOutstandingPickLists.DataSource = ord.GetPickListedOrders(CurrentContext.UserId, Convert.ToInt32(lkMode.EditValue));

                gridOutstandingPicklistDetail.DataSource = null;
                // Expand the groups
                gridOutstandingPickListView.ExpandAllGroups();
            }
        }