protected void AppendEditViewFields(string sEDIT_NAME, HtmlTable tbl, IDataReader rdr) { // 11/17/2007 Paul. Convert all view requests to a mobile request if appropriate. sEDIT_NAME = sEDIT_NAME + (this.IsMobile ? ".Mobile" : ""); // 12/02/2005 Paul. AppendEditViewFields will get called inside InitializeComponent(), // which occurs before OnInit(), so make sure to initialize L10n. SplendidDynamic.AppendEditViewFields(sEDIT_NAME, tbl, rdr, GetL10n(), GetT10n()); }
protected override void LayoutView_Bind(DataTable dtFields) { if (dtFields != null) { tblMain.Rows.Clear(); DataView dv = dtFields.DefaultView; dv.RowFilter = "DELETED = 0"; dv.Sort = LayoutIndexName(); SplendidDynamic.AppendEditViewFields(dv, tblMain, null, GetL10n(), GetT10n(), new CommandEventHandler(Page_Command), true); } }
protected void AppendEditViewFields(string sEDIT_NAME, HtmlTable tbl, IDataReader rdr) { // 12/02/2005 Paul. AppendEditViewFields will get called inside InitializeComponent(), // which occurs before OnInit(), so make sure to initialize L10n. SplendidDynamic.AppendEditViewFields(sEDIT_NAME, tbl, rdr, GetL10n(), GetT10n()); }