/*
               File: WCOtrasNoticias
        Description: Web Component otras noticias
             Author: GeneXus C# Generator version 9_0_6-875
       Generated on: 3/4/2009 0:14:17.88
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hwcotrasnoticiasSetStandaloneVars=function()
{
   A137Notici = GXgetDateValue("NOTICIAFECHAINI")
   A138Notici = GXgetDateValue("NOTICIAFECHAFIN")
}
this.hwcotrasnoticiasStandaloneModal=function()
{
   if ( AnyError == 0 && ( A116Notici != gxOldGridKey("A116NoticiA140Notici",5) ) )
   {
      gxajaxloadCrl('gxLoad_3',new Array("A116Notici"),new Array("A140Notici","A138Notici","A137Notici","A142Notici","A121Notici","A141Notici","A95Categor"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Gestión de noticias"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A116NoticiA140Notici",5);
      }
      else
      {
         gxSetGridKey("A116NoticiA140Notici",5,"A116Notici");
      }
   }
}
this.hwcotrasnoticiaswcotrasnoticias=function()
{
}
this.hwcotrasnoticiasinit=function()
{
}
hwcotrasnoticiasGXValidFnc = new Array();
this.hwcotrasnoticiasGXLastCtrlId =9;
hwcotrasnoticiasGXValidFnc [ 8 ]={lvl: 2 ,grid: 5 ,pgrid: 0 ,fnc: null ,fld: "NOTICIACODIGO" ,gxvar: "A116Notici" ,op:[  ],ip:[  ],v2v:function(Value){ A116Notici=gxint(Value) },v2c:function(){ GXsetGridControlValue("NOTICIACODIGO",GXCurrentRow[5],A116Notici,0) }, c2v:function(){ A116Notici=GXgetGridIntegerValue("NOTICIACODIGO",GXCurrentRow[5]) }, nac:function(){return  null }};
hwcotrasnoticiasGXValidFnc [ 9 ]={lvl: 2 ,grid: 5 ,pgrid: 0 ,fnc: null ,fld: "CATEGORIACODIGO" ,gxvar: "A95Categor" ,op:[  ],ip:[  ],v2v:function(Value){ A95Categor=gxint(Value) },v2c:function(){ GXsetGridControlValue("CATEGORIACODIGO",GXCurrentRow[5],A95Categor,0) }, c2v:function(){ A95Categor=GXgetGridIntegerValue("CATEGORIACODIGO",GXCurrentRow[5]) }, nac:function(){return  null }};
hwcotrasnoticiasSetStandaloneVars( ) ;
