示例#1
0
 protected void S112( )
 {
     /* 'LOAD TAB' Routine */
     if (AV12LoadAllTabs || (StringUtil.StrCmp(AV8SelectedTabCode, "") == 0) || (StringUtil.StrCmp(AV8SelectedTabCode, context.GetMessage("General", "")) == 0))
     {
         /* Object Property */
         if (StringUtil.StrCmp(StringUtil.Lower(WebComp_Generalwc_Component), StringUtil.Lower("TarifasGranelesSecosGeneral")) != 0)
         {
             WebComp_Generalwc = getWebComponent(GetType(), "GeneXus.Programs", "tarifasgranelessecosgeneral", new Object[] { context });
             WebComp_Generalwc.ComponentInit();
             WebComp_Generalwc.Name      = "TarifasGranelesSecosGeneral";
             WebComp_Generalwc_Component = "TarifasGranelesSecosGeneral";
         }
         if (StringUtil.Len(WebComp_Generalwc_Component) != 0)
         {
             WebComp_Generalwc.setjustcreated();
             WebComp_Generalwc.componentprepare(new Object[] { (String)"W0019", (String)"", (long)AV13TarifasGranelesSecosCodPeaje });
             WebComp_Generalwc.componentbind(new Object[] { (String)"" });
         }
         if (isFullAjaxMode( ))
         {
             context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0019" + "");
             WebComp_Generalwc.componentdraw();
             context.httpAjaxContext.ajax_rspEndCmp();
         }
     }
 }
示例#2
0
 protected void S112( )
 {
    /* 'LOADTABS' Routine */
    divCell_general_Visible = 1;
    context.httpAjaxContext.ajax_rsp_assign_prop("", false, divCell_general_Internalname, "Visible", StringUtil.LTrim( StringUtil.Str( (decimal)(divCell_general_Visible), 5, 0)), true);
    if ( AV11LoadAllTabs || ( StringUtil.StrCmp(AV12SelectedTabCode, "") == 0 ) || ( StringUtil.StrCmp(AV12SelectedTabCode, "General") == 0 ) )
    {
       /* Object Property */
       if ( StringUtil.StrCmp(StringUtil.Lower( WebComp_Generalwc_Component), StringUtil.Lower( "BR_DemographicsGeneral")) != 0 )
       {
          WebComp_Generalwc = getWebComponent(GetType(), "GeneXus.Programs", "br_demographicsgeneral", new Object[] {context} );
          WebComp_Generalwc.ComponentInit();
          WebComp_Generalwc.Name = "BR_DemographicsGeneral";
          WebComp_Generalwc_Component = "BR_DemographicsGeneral";
       }
       if ( StringUtil.Len( WebComp_Generalwc_Component) != 0 )
       {
          WebComp_Generalwc.setjustcreated();
          WebComp_Generalwc.componentprepare(new Object[] {(String)"W0026",(String)"",(long)AV10BR_Demographics_ID});
          WebComp_Generalwc.componentbind(new Object[] {(String)""});
       }
       if ( isFullAjaxMode( ) )
       {
          context.httpAjaxContext.ajax_rspStartCmp("gxHTMLWrpW0026"+"");
          WebComp_Generalwc.componentdraw();
          context.httpAjaxContext.ajax_rspEndCmp();
       }
       lblTxttabtitle_Caption = "General";
       context.httpAjaxContext.ajax_rsp_assign_prop("", false, lblTxttabtitle_Internalname, "Caption", lblTxttabtitle_Caption, true);
       if ( ( StringUtil.StrCmp(AV12SelectedTabCode, "") == 0 ) || ( StringUtil.StrCmp(AV12SelectedTabCode, "General") == 0 ) )
       {
          divCell_general_Visible = 0;
          context.httpAjaxContext.ajax_rsp_assign_prop("", false, divCell_general_Internalname, "Visible", StringUtil.LTrim( StringUtil.Str( (decimal)(divCell_general_Visible), 5, 0)), true);
       }
    }
 }