Another bug with Report Designer 3.1 and Repeaters

9 views
Skip to first unread message

Andrew Mobbs

unread,
Jun 23, 2014, 11:29:08 AM6/23/14
to dot-net-...@googlegroups.com
Hi again,

I have just discovered another bug with the Report Designer 3.1.

If you create a repeater in the Report Designer and wire it up exactly as per your example "CS > DataBinding > DataRepeater", it doesn't work unless you manually set the "Binding" attribute on the Repeater to an empty string.  By default, one can't set this in the designer as an empty value is simply ignored.  However, if the Binding attribute isn't on the repeater as Binding="", it doesn't populate the repeater with data.

To overcome this, I am manually adding the attribute in code (which isn't ideal but works):
                            System.Xml.XmlNode repeaterNode = docXML.DocumentElement.SelectSingleNode("//Repeater[@Id='rptData']");
                            System.Xml.XmlAttribute bindingAttr = docXML.CreateAttribute("Binding");
                            bindingAttr.Value = "";
                            repeaterNode.Attributes.SetNamedItem(bindingAttr);

I hope this helps someone else as I have spent hours trying to diagnose the issue.

Hopefully support can fix the bug with the designer too.

Cheers

Andrew

siberix

unread,
Jun 30, 2014, 4:21:45 PM6/30/14
to dot-net-...@googlegroups.com
Hi Andrew,

Thank you for letting us know about this issue. We'll try to fix it in the future. It is not a quick fix as it requires creation of a different input text dialog that accepts empty strings.

Thank You,
Victor
Reply all
Reply to author
Forward
0 new messages