This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, We are using DynamicData controls to implement basic CRUD across our Lightspeed entities and it works like a charm. However, for each entity we wire up to Dynamic data, we get an IsValid dropdown list appearing on the generated page. This dropdown has the values All, true and false. I assume that this is associated with the IsValid property of the base Entity class. However, any time a value in the list is selected, Lightspeed throws an exception. My question is, is there an easy way to supress the display of this dropdown list? Thanks, Mark |
|
|
Thanks for alerting us to this. I have fixed our dynamic data provider so that IsValid will not be offered as a filter. This fix will be included in the 10 June 2009 nightly, available from about 1430 GMT. Please let us know if you still see problems. (As a response to the more general question, there isn't an easy way to exclude columns from being offered as filters in ASP.NET 3.5 Dynamic Data. I believe ASP.NET 4.0 will allow you to mark a property with an attribute to exclude it from being a filter.) |
|