Select to view content in your preferred language

Regular search widget default to text search

1623
11
12-13-2010 06:53 AM
by Anonymous User
Not applicable
Original User: alnesbit

Hello,

In the ESRI search widget 2.1 or 2.2, is there anyway to tell it to default to a text search? Most users would not have a clue what the graphic symbols are for or that they should click the little icon to change to a text search. I would think a text search would be the most used kind of search in general.

Thanks,
0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus
Andrea,

   Sure, just add this to the bottom of the init function:
wTemplate.selectedTitlebarButtonIndex = 1;
0 Kudos
by Anonymous User
Not applicable
Original User: alnesbit

Andrea,

   Sure, just add this to the bottom of the init function:
wTemplate.selectedTitlebarButtonIndex = 1;


Robert,

Thanks! For future readers - you have to actually add it after the init function AND after the 6 lines of wTemplate code. Works great though.

Thanks,
0 Kudos