How can I convert the following statement into razor syntax? OnDocumentReady Method accepts Action as a parameter
<%
Html.Telerik()
.OnDocumentReady(() => {
%>$("#searchbox").setAutocomplete('<%=Url.Action(MVC.Search.All())%>');<%
}).Render();
%>
Also notice that you were missing a
ScriptRegistrarcall.UPDATE:
You might also try this if you are using an older version of Telerik extensions: