List Info

Thread: setNoResultsString() method of the SearchControl class does not work




setNoResultsString() method of the SearchControl class does not work
user name
2007-12-19 19:46:26
i created a new instance of the SeachControl class and tried
using the
setNoResultsString() method passing in something into the
parameter.

i tested it with a search string that would definately yield
no search
results but i do not get the "No Results" string
message appearing at
where the search results should be

code is as follows:

// Create a search control
var searchControl = new google.search.SearchControl();

// If no results, will display message
searchControl.setNoResultsString(google.search.SearchControl
.NO_RESULTS_DEFAULT_STRING);

i followed everything accordingly to the API documentation
on:
http://code.google.com/
apis/ajaxsearch/documentation/reference.html#_class_GSearchC
ontrol

does anyone know why this string message does not appear
when there
are no search results?

thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: setNoResultsString() method of the SearchControl class does not work
user name
2007-12-20 13:04:02
Did you try searchControl.setNoResultsString("No
results");?  And
please provide a link to the application, working or not.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.m
chsi.com
jgeerdesmchsi.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: setNoResultsString() method of the SearchControl class does not work
user name
2007-12-21 16:45:40
I did that too, i passed in a string literal and it still
did not work

On Dec 20, 11:04 am, "jgeerdes [AJAX APIs
"Guru"]"
<jgeer...mchsi.com> wrote:
> Did you try searchControl.setNoResultsString("No
results");?  And
> please provide a link to the application, working or
not.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.m
chsi.com
> jgeer...mchsi.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: setNoResultsString() method of the SearchControl class does not work
user name
2007-12-21 19:33:38
Can you please provide a link?

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.m
chsi.com
jgeerdesmchsi.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )