Skip to main content

Detail Table Object Hiding

public void OnLoadData()
{

To hide objects in a row
foreach(var c in DetailsGrid1.GetControls("txtInfo"))
{
c.Visible = false;
}

To hide the title
foreach (var c in DetailsGrid1.Columns)
{
if (c.Name == "txtInfo")
{
c.Control.Visible = false;
}
}

}