/*
               File: WCBanners
        Description: Web Component banners
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 8/15/2010 12:35:10.77
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hwcbannersSetStandaloneVars=function()
{
}
this.hwcbannersStandaloneModal=function()
{
   if ( AnyError == 0 && ( A413Banner != gxOldGridKey("A413BannerA415Banner",3) ) )
   {
      gxajaxloadCrl('gxLoad_3',new Array("A413Banner"),new Array("A415Banner","A883Banner","A416Banner"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Gestión banners publicitarios"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A413BannerA415Banner",3);
      }
      else
      {
         gxSetGridKey("A413BannerA415Banner",3,"A413Banner");
      }
   }
}
this.hwcbannerswcbanners=function()
{
}
this.hwcbannersinit=function()
{
}
hwcbannersGXValidFnc = new Array();
this.hwcbannersGXLastCtrlId =6;
hwcbannersGXValidFnc [ 5 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "_IMGBANNER" ,gxvar: "AV5ImgBann" ,op:[  ],ip:[  ],v2v:function(Value){ AV5ImgBann=Value },v2c:function(){ GXsetGridControlValue("_IMGBANNER",GXCurrentRow[3],AV5ImgBann,0) }, c2v:function(){ AV5ImgBann=GXgetGridControlValue("_IMGBANNER",GXCurrentRow[3]) }, nac:function(){return  null }};
hwcbannersGXValidFnc [ 6 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "BANNERCODIGO" ,gxvar: "A413Banner" ,op:[  ],ip:[  ],v2v:function(Value){ A413Banner=gxint(Value) },v2c:function(){ GXsetGridControlValue("BANNERCODIGO",GXCurrentRow[3],A413Banner,0) }, c2v:function(){ A413Banner=GXgetGridIntegerValue("BANNERCODIGO",GXCurrentRow[3]) }, nac:function(){return  null }};
hwcbannersSetStandaloneVars( ) ;
