Ejemplo n.º 1
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlShowExhibitionEntry.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowRecordsInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelTradeShowEntry:
                ClearControls();
                SetSortOrder();
                trImage.Visible = false;
                pnlShowExhibitionEntry.Visible = true;
                break;
        }
        //----------------------------------------
    }
Ejemplo n.º 2
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlSolutionsEntry.Visible = false;
        pnlSolutionDetails.Visible = false;
        pnlParagraph.Visible = false;
        pnlImagesUpload.Visible = false;
        pnlVideo.Visible = false;
        pnlPreview.Visible = false;
        pnlFileAttachment.Visible = false;
        pnlScaledown.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowSolutionsInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelSoutionEntry:
                ClearControls();
                pnlSolutionsEntry.Visible = true;
                break;

            case enmPanelType.PanelParagraph:
                pnlParagraph.Visible = true;
                ShowParagraphInGrid();
                break;
            case enmPanelType.PanelSolutionDetailsEntry:
                pnlSolutionDetails.Visible = true;
                txtSolutionsDetails.Text = "";
                ShowSolutionDetailsInGrid();
                ViewState["Mode"] = enmSaveType.Insert;
                break;

            case enmPanelType.PanelImageUpload:
                pnlImagesUpload.Visible = true;
                setSortOrderinImages();
                ViewState["Mode"] = enmSaveType.Insert;
                break;
            case enmPanelType.PanelVideoUpload:
                pnlVideo.Visible = true;
                setSortOrderinVideos();
                ViewState["Mode"] = enmSaveType.Insert;
                break;
            case enmPanelType.PanelAttachment:
                pnlFileAttachment.Visible = true;
                setSortOrderinAttchment();
                ViewState["Mode"] = enmSaveType.Insert;
                break;

            case enmPanelType.PanelScaledown:
                pnlScaledown.Visible = true;
                setSortOrderinScaledown();
                ViewState["Mode"] = enmSaveType.Insert;
                break;

            case enmPanelType.PanelPreview:
                pnlPreview.Visible = true;
                ShowPreviwSolution();
                break;

        }
        //----------------------------------------
    }
Ejemplo n.º 3
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlSizeEntry.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowRecordsInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelSizeEntry:
                ClearControls();

                pnlSizeEntry.Visible = true;
                break;
        }
        //----------------------------------------
    }
Ejemplo n.º 4
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlClientEntry.Visible = false;
        divMenu.Visible = false;
        // Added  by Shiv Shankar Hemnat on 06-JUN-2014
        pnlPreview.Visible = false;
        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowClientsInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelClientEntry:
                ClearControls();
                setSortOrderinClient();

                // Commented by Ripan Paul on 21-10-2013 as per SB
                // trThumbnailImg.Visible = false;

                trBigImage.Visible = false;
                pnlClientEntry.Visible = true;

                break;
            // Added by Shiv Shanakar Hemant on 06-JUN-2014

            case enmPanelType.PanelPreview:
                pnlPreview.Visible = true;
                ShowPreviwSolution();
                break;

        }
        //----------------------------------------
    }
Ejemplo n.º 5
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlShowFormatEntry.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                SaveParagraphInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelSizeEntry:
                ClearControls();
                SetSortOrder();
                pnlShowFormatEntry.Visible = true;
                break;
        }
        //----------------------------------------
    }
Ejemplo n.º 6
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlCaseEntry.Visible = false;
        pnlCaseDetails.Visible = false;
        pnlImagesUpload.Visible = false;
        divMenu.Visible = false;
        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowCaseCategoryInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelCase:
                ClearControls();
               // SetSortOrder();
                pnlCaseEntry.Visible = true;
                break;

            case enmPanelType.PanelCaseDetails:
                SetSortOrder_Case_Detail();
                pnlCaseDetails.Visible = true;
                ViewState["Mode"] = enmSaveType.Insert;
                break;

            case enmPanelType.PanelImageUpload:
                SetSortOrder_Case_Images_Upload();
                pnlImagesUpload.Visible = true;
                ViewState["Mode"] = enmSaveType.Insert;
                break;

        }
        //----------------------------------------
    }
Ejemplo n.º 7
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlInputControls.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowRecordsInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelEntry:
                ClearControls();
                ShowNews();
                setSortOrderinNews();
                pnlInputControls.Visible = true;
                pnlImages.Visible = false;
                btnCancel.Visible = false;
                btnImageEdit.Visible = false;
                ViewState["Mode"] = enmSaveType.Insert;
                trImageUpload.Visible = true;
                break;

            case enmPanelType.PanelImageEntry:
                pnlImages.Visible = true;
                break;

        }
        //----------------------------------------
    }
Ejemplo n.º 8
0
    private void ShowPageDisplayStatus(enmPanelType pnlType)
    {
        divSuccess.Visible = false;
        divError.Visible = false;
        pnlGridView.Visible = false;
        pnlSolutionsEntry.Visible = false;
        pnlImagesUpload.Visible = false;
        pnlVideo.Visible = false;
        pnlFileAttachment.Visible = false;
        divMenu.Visible = false;

        //----------------------------------------
        switch (pnlType)
        {
            case enmPanelType.PanelGrid:
                pnlGridView.Visible = true;
                ShowProductDisplayInGrid();
                divMenu.Visible = true;
                break;

            case enmPanelType.PanelProductEntry:
                ClearControls();
                pnlSolutionsEntry.Visible = true;
                break;

            case enmPanelType.PanelImageUpload:
                pnlImagesUpload.Visible = true;
                setSortOrderinImages();
                ViewState["Mode"] = enmSaveType.Insert;
                break;
            case enmPanelType.PanelVideoUpload:
                pnlVideo.Visible = true;
                setSortOrderinVideos();
                ViewState["Mode"] = enmSaveType.Insert;
                break;
            case enmPanelType.PanelAttachment:
                pnlFileAttachment.Visible = true;
                setSortOrderinAttchment();
                ViewState["Mode"] = enmSaveType.Insert;
                break;

        }
        //----------------------------------------
    }