public FinanceYearPage2(CrudAPI crudApi, FinanceYearGrid mainGrid, string dummy)
            : base(crudApi, dummy)
        {
            updateMainGrid = mainGrid;
            InitPage(crudApi);
#if !SILVERLIGHT
            FocusManager.SetFocusedElement(txtDateFrom, txtDateFrom);
#endif
        }
 public FinanceYearPage2(UnicontaBaseEntity sourcedata, FinanceYearGrid mainGrid)
     : base(sourcedata, true)
 {
     updateMainGrid = mainGrid;
     InitPage(api);
 }