コード例 #1
0
    protected sealed override void LoadPageControls() {
      LRSHtmlSelectControls.LoadRecorderOfficeCombo(this.cboRecorderOffice, ComboControlUseMode.ObjectSearch, selectedRecorderOffice);
      LRSHtmlSelectControls.LoadRecordingBookClassesCombo(this.cboRecordingClass, "( Todos )", selectedRecordingBookClass);

      if (base.SelectedTabStrip == 5) {
        //LRSHtmlSelectControls.
      }
    }
コード例 #2
0
 protected sealed override void LoadPageControls() {
   if (txtFromDate.Value == String.Empty) {
     txtFromDate.Value = DateTime.Today.AddDays(-7).ToString("dd/MMM/yyyy");
   }
   if (txtToDate.Value == String.Empty) {
     txtToDate.Value = DateTime.Today.ToString("dd/MMM/yyyy");
   }
   LRSHtmlSelectControls.LoadRecorderOfficeCombo(this.cboRecorderOffice, ComboControlUseMode.ObjectSearch, selectedRecorderOffice);
 }
コード例 #3
0
    private void LoadControls() {
      LRSHtmlSelectControls.LoadPropertyTypesCombo(this.cboPropertyType, ComboControlUseMode.ObjectCreation, property.PropertyType);

      RecorderOffice selectedRecorderOffice = null;
      if (!property.CadastralOffice.IsEmptyInstance) {
        selectedRecorderOffice = property.CadastralOffice;
      } else {
        selectedRecorderOffice = recordingAct.Recording.RecordingBook.RecorderOffice;
      }

      LRSHtmlSelectControls.LoadRecorderOfficeCombo(this.cboCadastralOffice, ComboControlUseMode.ObjectCreation, selectedRecorderOffice);
      LRSHtmlSelectControls.LoadRecorderOfficeMunicipalitiesCombo(this.cboMunicipality, ComboControlUseMode.ObjectCreation,
                                                                  selectedRecorderOffice, property.Municipality);

      LoadSettlementsCombo();
      LoadRoadsCombo();
      LoadPostalCodesCombo();
      LoadPropertyControls();
    }
コード例 #4
0
    private void LoadAnotherPropertyRecorderOfficesCombo() {
      LRSHtmlSelectControls.LoadRecorderOfficeCombo(this.cboAnotherRecorderOffice, ComboControlUseMode.ObjectCreation,
                                                    recordingBook.RecorderOffice);

      ObjectList<RecordingBook> recordingBookList = recordingBook.RecorderOffice.GetTraslativeRecordingBooks();

      if (recordingBookList.Count != 0) {
        HtmlSelectContent.LoadCombo(this.cboAnotherRecordingBook, recordingBookList, "Id", "FullName",
                                    "( Seleccionar el libro registral donde se encuentra )", String.Empty, String.Empty);
      } else {
        HtmlSelectContent.LoadCombo(this.cboAnotherRecordingBook, "No existen libros de traslativo de dominio para el Distrito",
                                    String.Empty, String.Empty);
      }

      cboAnotherRecording.Items.Clear();
      cboAnotherRecording.Items.Add(new ListItem("¿Libro?", String.Empty));

      cboAnotherProperty.Items.Clear();
      cboAnotherProperty.Items.Add(new ListItem("( ¿Inscripción? )", String.Empty));
    }
 protected sealed override void LoadPageControls() {
   LRSHtmlSelectControls.LoadRecorderOfficeCombo(this.cboRecorderOffice, ComboControlUseMode.ObjectSearch, selectedRecorderOffice);
   LoadInboxInQuickMode();
 }