I'm trying to create a filter dynamically through code, and for that I need to set the property UseDefaultConfiguration to false.
However, just this simple thing below causes the webpart to "hang" on the page, with the message "Refresh the page to see the latest changes."
protected override void CreateChildControls()
{
UseDefaultConfiguration = false;
base.CreateChildControls();
}
I can refresh as long as I want, but nothing happens. Did I put this first line in a wrong place or something? How can I solve this?
Thanks in advance, Igor