I am upgrading an app to 9.10 and have an issue updating code that uses ProductFieldTypeProvider. In the previous version, the code looked as follows;
protected override Control Render(string id, bool enabled, string value, bool hasError, List<Dynamicweb.UI.Elements.Actions.FieldAddOn> addOns)
and it would return an HtmlInputHidden (in my case). In the new version it now looks like this:
protected override void Render(TextWriter writer, string id, bool enabled, string value, bool hasError, string text, string title)
It's now void and takes a TextWriter. Should I render my control into the TextWriter? If so, how is that done?
Thanks
Imar