using System.Text; using MBS.Web.Controls; using Mocha.Core; namespace Mocha.Web.Controls { public class ListViewItemColumnInstance : ListViewItemColumn { public string Text { get; set; } = null; public System.Collections.Generic.List InstanceIDs { get; set; } = new System.Collections.Generic.List(); public bool DisplayAsCount { get; set; } = false; public override System.Web.UI.Control RenderControl() { // value in this case is instance id e.g. 142$108 InstanceBrowser adw = new InstanceBrowser(); if (Text != null) adw.Text = Text; adw.Editable = false; for (int i = 0; i < InstanceIDs.Count; i++) { adw.InstanceReferences.Add(InstanceIDs[i]); } adw.DisplayAsCount = DisplayAsCount; //
//
// Edit Standard Report //   //
// //
//
// UI Task // // Edit Standard Report // //
//
//
//
//
Global Identifier
//
5E0E39F2FEA8473AB11CB9CE42C42B02
//
//
//
//
//
//
// //
return adw; } } }