NonRetrievable Attribute & WebCombo

3 replies. Last post: November 5, 2009 9:01 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I have the feeling that the NonRetrievable attribute is not consider by WebCombo. Typically I would like to have the list of customers within a combo.

My customer class has a property Order that is going to retrieve the order from the db and I do not need to have this information in the combo.

When using the WebGrid, you could flag such property with [NonRetrievable()] and the properties are not populated during the binding, but with the combo it doesn't work (ie, the property are called even if the property is flagged).

I also see that the NonRetrievableAttribute is defined both in the WebGrid and the ISDatasource namespace. I tried both, but without success ...

Is it possible to avoid the loading of such properties with the combo ?

All times are GMT -5. The time now is 1:38 AM.
Previous Next