Note that there are some explanatory texts on larger screens.

plurals
  1. POTelerik MVC Combobox AutoComplete error
    primarykey
    data
    text
    <p>I am using the Telerik autocomplete option</p> <p>In the header:</p> <pre><code>&lt;script type="text/javascript"&gt; function onAutoCompleteDataBinding(e) { var autocomplete = $('#AutoComplete').data('tAutoComplete'); autocomplete.dataBind(["Product 1", "Product 2", "Product 3"]} &lt;/script&gt; </code></pre> <p>In the body of the View:</p> <pre><code>&lt;%=Html.Telerik().AutoComplete() .Name("AutoComplete") .ClientEvents(events =&gt; events.OnDataBinding("onAutoCompleteDataBinding")) %&gt; </code></pre> <p><a href="http://demos.telerik.com/aspnet-mvc/combobox/clientsidebinding" rel="nofollow">http://demos.telerik.com/aspnet-mvc/combobox/clientsidebinding</a></p> <p>I have managed to get this working on other applications and it is really quite simple. I have pasted this example on top to show that this one also bombs out on :</p> <pre><code> this.trigger = new $t.list.trigger(this); </code></pre> <p>Think i might have mixed up the .js files and now my auto complete is not working. Any sugesions which js files and in what order they must be for this to work right</p> <p>My Page master relevant parts:</p> <pre><code>&lt;body&gt; &lt;% Html.Telerik().ScriptRegistrar() .DefaultGroup(group =&gt; group .Add("MicrosoftAjax.js") .Add("MicrosoftMvcAjax.js") ); %&gt; &lt;div class="MainTableBody"&gt; &lt;asp:ContentPlaceHolder ID="ContentPlaceHolder" runat="server" /&gt; &lt;/div&gt; &lt;% Html.Telerik().ScriptRegistrar().Render(); %&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>In my web.config</p> <pre><code>&lt;add namespace="Telerik.Web.Mvc.UI" /&gt; </code></pre> <p>Any help or comments would be greatly appreciated</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload