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
1165
Embed Custom Object in UltraDataSource Child Band
posted

I know it's not 'easy' but is it 'possible' to embed a custom UserControl into a child band column of an UltraDataSource object (for display in an Ultra Grid).

When I try it, it doesn't error out but the child band just displays the name of the user control (for the attached screenshot, I'm using a microsoft calendar control but I actually want to use a custom control that displays an UltraMonthViewMulti control). 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    If you want to embed a control in the grid and you have the latest version of NetAdvantage, you could use the new UltraControlContainerEditor component. But this embeds a control in the grid which then gets it's value form the grid cell.

    There's no way to embed a control in an UltraDataSource. UltraDataSource has no UI, it's for storing the data. It sounds like you should be storing a date in the UltraDataSource and using the UltraControlContainerEditor in the grid column to display that date.

Children