Search code examples
asp.netruntimecontrolsreportstimulsoft

Change position of panel in stimul report


I have an stimul report in asp.net and I need to change position of a panel dynamically in run time.
My question is how can I access the panel object in my code? I need to change the top property of this control


Solution

  • You could set the Top property of the Panel with next code:

    (report.GetComponentByName("Panel1") as StiPanel).Top = 15;