Monday, June 4, 2012

Search Options Disable Multiple Values

The dropdown under each column header has the “Filter…” option.

Multiple Value Filter option for Last Name column.

When clicked, it displays a check box list of filter values for the field. The user can then filter the field with multiple values.

Multiple Values selected for filtering on the Last Name field.

This feature can be disabled.

Start the Project Designer. In the Project Explorer, double-click on Employees / container1 / view1 / grid1 / LastName data field node.

LastName data field of grid1 view of Employees page.

Change the Search Mode property:

Property New Value
Search Mode
$disablemultiplevalues

Press OK to save the data field. On the toolbar, press Browse.

Navigate to the Employees page and activate the header dropdown for Last Name column. The “Filter…” option will not be available.

Multiple Value Filter option under Last Name column dropdown is not available.

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com