Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Search Box Auto-conplete View modes: 
User avatar
Member
Member
rborgen-mdbconsulting.co - 10/14/2009 5:11:16 AM
   
Search Box Auto-conplete
Hi,

I am interested in making a search box with auto-complete (Ajax / JQuery) feature
displaying the auto-complete results in a list below the search box (as google).

Is this something anybody has developed or can give any suggestions?

Thanks

User avatar
Member
Member
kentico_pavelk - 10/14/2009 3:37:18 PM
   
RE:Search Box Auto-conplete
Hi,

I would recommend you create a new web part (or modify existing) and add for example AJAX autocomplete control. You may find example of using that control here:
http://www.asp.net/ajax/AjaxControlToolkit/Samples/

You may also find useful information in our Developer's guide:
http://devnet.kentico.com/docs/devguide/index.html?developing_web_parts.htm
http://devnet.kentico.com/docs/devguide/index.html?modifying_the_code_of_standard_web_parts.htm


Best Regards,
Pavel Knotek

User avatar
Member
Member
Runey - 10/15/2009 4:59:50 AM
   
RE:Search Box Auto-conplete
Hi Pavel,

I have tried as you suggested.
I created a webpart with the autocomplete-extender, created a webservice for referencing (using the directions given at: http://devnet.kentico.com/Blogs/Petr-Vozak/February-2009/Data-communication-in-Silverlight-2-0/ASP-NET-Web-Services-(ASMX).aspx).

I now get the following error:

CS1705: Assembly 'CMS.UIControls, Version=4.1.3573.16340, Culture=neutral, PublicKeyToken=834b12a258f213f9' uses 'CMS.ExtendedControls, Version=4.1.3573.16313, Culture=neutral, PublicKeyToken=834b12a258f213f9' which has a higher version than referenced assembly 'CMS.ExtendedControls, Version=4.1.3518.21064, Culture=neutral, PublicKeyToken=834b12a258f213f9'

I have tried installing hotfix 4.1.8, deleting temporary files and rebuilding the site.
Nothing works.

Any suggestions?

Thanks

User avatar
Member
Member
kentico_pavelk - 10/19/2009 3:20:40 AM
   
RE:Search Box Auto-conplete
Hello,

We solved the issue via e-mail.

The problem was in using newer version of AjaxControlToolkit.dll. The issue was solved by restoring default DLL in the bin folder. This default DLL can be found in installation fodler of Kentico CMS. By default it is
C:\Program Files\KenticoCMS\4.1\Webinstaller\Versions\<version>\Bin\.


I hope this may help also other users.


Best Regards,
Pavel Knotek