Hello. I'm trying to hide a Panel when the Report has different values, I used Visual Studio's break point, panel4.Visible turn "false", but nothing happens and I can't understand why!!
My code is this:
private void detail_ItemDataBinding(object sender, EventArgs e)
{
Telerik.Reporting.Processing.DetailSection section = sender as Telerik.Reporting.Processing.DetailSection;
if (section != null)
{
if ((string)section.DataObject["Year"] == Core.Constants.Configuration.Year.ToString())
{
panel4.Visible = false;
}
}
}
What am I missing?
Thank you for help,
Angelo