Exemple #1
0
        protected void Page_Init(object sender, EventArgs e)
        {
            this.Master.PageHeadlineTitle = this.Title;

            session = XpoHelper.GetNewSession();
            XpoDSMobileTransaction.Session = session;

            ASPxGridViewMobileTransaction.Settings.GridLines = GridLines.Both;
            issueDocumentRepo = new IssueDocumentRepository(session);
        }
        protected void Page_Init(object sender, EventArgs e)
        {
            userAction         = GetIntValueFromSession(Enums.CommonSession.UserActionPopUp);
            issueDocumentPosID = GetIntValueFromSession(Enums.IssueDocumentSession.IssueDocumentPositionID);

            session = XpoHelper.GetNewSession();

            XpoDSSupplier.Session = session;

            issueDocumentRepo = new IssueDocumentRepository(session);
            clientRepo        = new ClientRepository(session);
            inventoryRepo     = new InventoryRepository(session);
            productRepo       = new ProductRepository(session);

            GridLookupSupplier.GridView.Settings.GridLines = GridLines.Both;
        }