Monday, June 4, 2012

Disabling Auto Complete in the Search Bar

The Advanced Search Bar enables auto complete for the text fields.

Last Name search field with Auto Complete enabled.

The feature may be disabled when necessary.

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

LastName data field on 'view1' of Employees controller.

Make the following change:

Property New Value
Search Options
$disableautocomplete

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

When a web browser window opens, navigate to Employees page and open the advanced search bar. The Last Name search field no longer has Auto Complete capabilities enabled.

Last Name search field with Auto Complete disabled.

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