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).
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.
Thanks for the info., Mike. Now I'm hoping you'll bear with me for a couple more quesitons.
So you're saying the container editor has only been available since the very latest release?
What I'm really wanting to go into and out of the control is a string that represents every day of a given year as a single character. The control would use that information to format the multi-month view control inside the user control. Could I set the datasource up as a string type and pass that string into the user control when the grid is loading?