Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
Visual Studio Power Pack Data Repeater
posted

Has anybody been able to use the Infragistics controls with the VS Power Pack Data Repeater?

Roger

  • 520
    posted

    i have and it wasn't easy but the result was very cool.

    Learn which events on your child controls need to be wired up with an AddEvent Handler in the repeater's CloneItem and you will be halfway home to figuring out the idiosyncracies involved.

  • 37774
    Suggested Answer
    posted

    Roger,

    Are you having any particular issues with the DataRepeater?  There were originally some issues with using the DataRepeater with Infragistics controls, wherein I think that an AmbiguousMatchException would be thrown when the DataRepeater is bound.  This issue has been fixed as of a hotfix in NetAdvantage 8.1 and higher; I think the hotfix was released in the summer of last year. 

    There are a couple issues that should be noted.  The first is that there are some controls, like the UltraGrid and UltraTree, whose event handlers will not automatically be cloned due to an internal implementation detail regarding performance.  This can be worked around by using the static InitializeDataRepeaterClones method (or the InitializeDataRepeaterClone method to manually handle a specific control).

    The second issue to note is that there is a bug verified by Microsoft that the DataRepeater will not properly copy any sub-object propertis of a control when each item is cloned (i.e. if a control has a property like control.Settings.Color).  If you encounter this situation, any relevant properties would need to be copied over manually.

    -Matt