Hi Mandvika Rathore,
I'm not sure if this will help you, but I achieved that using the
following code:
var searchControl = new google.search.SearchControl();
* **var options = new google.search.SearcherOptions();*
* **options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);*
options.setNoResultsString("Sua pesquisa não encontrou nenhuma página
correspondente.");
var siteSearch = new google.search.WebSearch();
siteSearch.setUserDefinedLabel("Resultados");
siteSearch.setUserDefinedClassSuffix("siteSearch");
*searchControl.addSearcher(siteSearch, options);*
Rgds
----------------------
Marcos Farias
http://www.justdigital.com.br/
http://twitter.com/MarcosFariasBr
On Thu, Jun 24, 2010 at 4:29 PM, mandvika rathore <[email protected]>wrote:
> Thanks for replaying to my last message. I really appreciate it
>
>
> I have another problme. I used this example ---
> http://www.google.com/uds/samples/places.html
> to develop a page with custom search form using
> google.search.SearchForm. As given in this example too, I see only
> four results of a search. I tried to use options.setExpandMode and
> passed EXPAND_MODE_OPEN as a variable but it didn't work. Probably,
> because I am using a custom search form.
>
> What I want is use the custom form but display all the results with
> pagination . How can I achieve this. If you could help, it will be
> great.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google AJAX APIs" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-ajax-search-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en.