Yes, I tried that myself for the heck of it and made the public property in my usercontrol of type Xceed.Grid.GridControl. In the form designer i thought I would just have to type in the name of the relevant GridControl but was pleasantly suprised to see that it had automatically created a drop-down list with all the GridControls on the form!
So I no longer need the directcast. Would mind knowing how to cast the GridControl though. I think I will ask Tech Support this one.
Thanks for your help.
Imported from legacy forums. Posted by Dominic (had 4558 views)