/*
               File: NewsString
        Description: News String
             Author: GeneXus C# Generator version 10_0_2-16113
       Generated on: 4/30/2009 11:34:14.65
       Program type: Callable routine
          Main DBMS: sqlserver
*/
gx.evt.autoSkip = false;
function newsstring(CmpContext) {
   this.setObjectType("web");
   this.setCmpContext(CmpContext);
   this.hasEnterEvent = false;
   this.addKeyListener("5", "RFR");
   this.autoRefresh = true;
   this.SetStandaloneVars=function()
   {
      this.AV9artnbr=GXgetIntegerValue("_ARTNBR",gx.thousandSeparator) ;
      this.AV16Artist=GXgetIntegerValue("_ARTISTWIFRAMECOMPONENTID",gx.thousandSeparator) ;
   }
   this.e13052_client=function()
   {
      this.executeServerEvent("ENTER", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.e14052_client=function()
   {
      this.executeServerEvent("CANCEL", true, arguments[0]);
      this.refreshServerOutputs([]);
   }
   this.GXValidFnc = [];
   this.GXLastCtrlId =0;
   this.StringContainer = new gxgrid(this, 2,"WbpLvl2",14,"String","String","StringContainer",this.CmpContext,this.IsMasterPage,"newsstring",[],true,1,true,true,0,true,false,false,"",0,"px",gx.getMessage( "GXM_NewRow"),true,false);
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","top","","","","","","");
   this.StringContainer.addTextBlock('TXTOPENTABLE',null);
   this.StringContainer.startTable("Tablenews",18,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","left","","","","","","","");
   this.StringContainer.addTextBlock('IMAGE',null);
   this.StringContainer.endCell();
   this.StringContainer.startCell("","","","","","","8px","","");
   this.StringContainer.endCell();
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.startTable("Tablendetails",24,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.startTable("Tabledate",27,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.addTextBlock('DATE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.startTable("Tableabstract",33,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.addTextBlock('TITLE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.startTable("Tablebody",39,"0px");
   this.StringContainer.addHtmlCode("<TBODY>");
   this.StringContainer.startRow("","","","","");
   this.StringContainer.startCell("","","","","","","","","");
   this.StringContainer.addTextBlock('BODY',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.StringContainer.addHtmlCode("</TBODY>");
   this.StringContainer.endTable();
   this.StringContainer.addTextBlock('TXTCLOSETABLE',null);
   this.StringContainer.endCell();
   this.StringContainer.endRow();
   this.setGrid(this.StringContainer);
   this.AV9artnbr = 0;
   this.AV16Artist = 0;
   this.A30NewsId = 0;
   this.A39ImageUr = "";
   this.A37ImageId = 0;
   this.A10ArtNbr = 0;
   this.A159LangCo = "";
   this.A35NewsDat = gx.date.nullDate();
   this.A34NewsDat = gx.date.nullDate();
   this.A31NewsTit = "";
   this.A32NewsAbs = "";
   this.A40Compone = 0;
   this.A46Compone = 0;
   this.A136Artist = 0;
   this.VarControlMap["AV9artnbr"] = "_ARTNBR";
   this.VarControlMap["AV16Artist"] = "_ARTISTWIFRAMECOMPONENTID";
   this.SetStandaloneVars( );
   this.ServerClass =  "NewsString" ;
}
setExecutableComponent("newsstring");
