/*
               File: WCOtrasNoticia3
        Description: Otars noticias ampliadas con resumen e imagen
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 12/19/2010 22:3:11.84
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hwcotrasnoticia3SetStandaloneVars=function()
{
   A137Notici = GXgetDateValue("NOTICIAFECHAINI")
   A138Notici = GXgetDateValue("NOTICIAFECHAFIN")
}
this.hwcotrasnoticia3StandaloneModal=function()
{
   if ( AnyError == 0 && ( A116Notici != gxOldKey("A116NoticiA140Notici") ) )
   {
      gxajaxloadCrl('gxLoad_3',new Array("A116Notici"),new Array("A140Notici","A138Notici","A137Notici","A95Categor","A110Notici","A121Notici","A141Notici"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Gestión de noticias"));
         AnyError = 1 ;
         gxUnsetSetKey("A116NoticiA140Notici");
      }
      else
      {
         gxSetKey("A116NoticiA140Notici","A116Notici");
      }
   }
}
this.hwcotrasnoticia3wcotrasnoticia3=function()
{
}
this.hwcotrasnoticia3init=function()
{
}
hwcotrasnoticia3GXValidFnc = new Array();
this.hwcotrasnoticia3GXLastCtrlId =9;
hwcotrasnoticia3GXValidFnc [ 9 ]={lvl: 2 ,grid: 3 ,pgrid: 0 ,fnc: null ,fld: "_RESUMEN2" ,gxvar: "AV6Resumen" ,op:[  ],ip:[  ],v2v:function(Value){ AV6Resumen=Value },v2c:function(){ GXsetGridControlValue("_RESUMEN2",GXCurrentRow[3],AV6Resumen,0) }, c2v:function(){ AV6Resumen=GXgetGridControlValue("_RESUMEN2",GXCurrentRow[3]) }, nac:function(){return  null }};
hwcotrasnoticia3SetStandaloneVars( ) ;

