I have a widget i'm building based on a dynamic component from the module builder.
I used Sitefinity Thunder to build the widget with designer. I've added params to the designer. One of the params is "columns per row".
In my widget I use a repeater to build a table/grid of boxes, one box (div) representing each item in the list.
In my .ascx or the .ascx.cs code behind, how do I get the value of the parameter that was set from the designer? I need to use it in to customize my repeater data bind to run some custom code every Nth.
I know I can set values on components from my widget using this:
return this.Container.GetControl<Label>("MessageLabel", true);
But instead of "getting a control", how can I get/set a variable inside my widget .ascx.cs ?