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
45
Showing sub-properties from a busines object
posted

Mike,

  I have a slightly different question on ultrawingrid. I have one custom business object (CBO1) with 5 properties. Four of these properties are of simple data types such as string, long etc. The fifth one is another cusom business object (CBO2) with its own set of say, 10 properties. I want to show four properties of CBO1 and 10 properties on CBO2 in the same row. 

Thanks,
Sunil 

Parents
No Data
Reply
  • 1560
    Suggested Answer
    posted

    I don't see a way to bind directly to the inner cbo2 through cbo1.

     

    The only way would be to add properties to cbo1 that reflects the one from cbo2.

    for example:

    class cbo1

    {

              public string cbo2Name

              {

                    get{return cbo2.Name;}

              }

    }

     

Children