Example #1
0
    //-----------------------------------------------
    #endregion

    #region --------------ClearControls()--------------
    //---------------------------------------------------------
    //ClearControls()
    //---------------------------------------------------------
    private void ClearControls()
    {
        //-----------------------------------
        cbIsAvailable.Checked = true;
        CbIsMain.Checked      = false;
        //-----------------------------------
        LoadPriorities();
        ddlPriority.SelectedIndex = -1;
        //-----------------------------------
        txtHeight.Text = "";
        txtWidth.Text  = "";
        //-----------------------------------
        ucItemDate.ClearControls();
        //-----------------------------------
        txtYoutubeCode.Text = "";
        //-----------------------------------
        MLangsDetails1.ClearControls();
        //-----------------------------------
        txtGoogleLatitude.Text  = "";
        txtGoogleLongitude.Text = "";
        //-----------------------------------
        cbOnlyForRegisered.Checked = false;
        //-----------------------------------
        //Files publishing
        cbPublishPhoto.Visible  = false;
        cbPublishPhoto2.Visible = false;
        cbPublishFile.Visible   = false;
        cbPublishAudio.Visible  = false;
        cbPublishVideo.Visible  = false;
        cbPublishYoutbe.Visible = false;
        //-----------------------------------
    }
Example #2
0
    //-----------------------------------------------
    #endregion

    #region --------------ClearControls()--------------
    //---------------------------------------------------------
    //ClearControls()
    //---------------------------------------------------------
    private void ClearControls()
    {
        txtUrl.Text           = "";
        cbIsAvailable.Checked = true;
        ddlRelatedModuleTypeID.SelectedIndex = -1;
        ddlRelatedPageID.SelectedIndex       = -1;
        //-----------------------------------
        MLangsDetails1.ClearControls();
        //-----------------------------------
        LoadParents();
    }
Example #3
0
    //-----------------------------------------------
    #endregion

    #region --------------ClearControls()--------------
    //---------------------------------------------------------
    //ClearControls()
    //---------------------------------------------------------
    private void ClearControls()
    {
        //txtTitle.Text = "";
        //ddlItemCategories.SelectedIndex = -1;
        //txtShortDescription.Text = "";
        //txtDetails.Value = "";
        txtUrl.Text             = "";
        txtEmail.Text           = "";
        cbIsAvailable.Checked   = true;
        CbIsMain.Checked        = false;
        cbSpecialOption.Checked = false;
        LoadPriorities();
        ddlPriority.SelectedIndex = -1;
        //txtAuthorName.Text = "";
        //-----------------------------------
        txtHeight.Text = "";
        txtWidth.Text  = "";
        ucItemDate.ClearControls();
        ucItemEndDate.ClearControls();
        // txtAddress.Text = "";
        txtMailBox.Text = "";
        txtZipCode.Text = "";
        txtTels.Text    = "";
        txtFax.Text     = "";
        txtMobile.Text  = "";
        //-----------------------------------
        txtYoutubeCode.Text       = "";
        ddlAuthorID.SelectedIndex = -1;
        //-----------------------------------
        MLangsDetails1.ClearControls();
        //-----------------------------------
        txtGoogleLatitude.Text     = "";
        txtGoogleLongitude.Text    = "";
        txtPrice.Text              = "";
        cbOnlyForRegisered.Checked = false;
        //-----------------------------------
        //Files publishing
        cbPublishPhoto.Visible  = false;
        cbPublishPhoto2.Visible = false;
        cbPublishFile.Visible   = false;
        cbPublishAudio.Visible  = false;
        cbPublishVideo.Visible  = false;
        cbPublishYoutbe.Visible = false;
        //-----------------------------------
        //SenderName-------------------------
        txtSenderName.Text             = "";
        txtSenderEMail.Text            = "";
        ddlSenderCountry.SelectedIndex = -1;
        //-----------------------------------
        ddlType.SelectedIndex = -1;
        //-----------------------------------
        txtIconControl.Text = "";
    }