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
1401
WinGrid and CSLA business objects
posted

In one of our scenario, we want to bind the grid using Business objects based on CSLA concept. Here we are facing two problems.

#1. The business object uses OnNotifyPropetyChangedEvent() on every property setter methods. In such case, how I can get rid of the child bands appearing beneath the data row.? Also, If I comment the call to OnNotifyPropertyChanged, then the bands are disappearing. My requirement is to retain those validation rules of the business object along with the grid.

#2. While binding the business object, the parent class properties are also shown in the grid, which is not required. Is there any way, this can be ignored at the time of data binding?

Appreciate your inputs.