4 Answers, 1 is accepted
0

Donald
Top achievements
Rank 1
answered on 29 Dec 2011, 02:29 PM
Hi,
I tried this code:
and received this result:
Uncaught TypeError: Object [object HTMLBodyElement] has no method 'kendoAutoComplete'
I don't know what else to try.
I am working on customizing kENDO AutoComplete all during the Christmas holidays because a client needs the capability the first week of January. I'd really appreciate your help even though it probably involve another Telerik team and it's the holiday season.
Many thanks,
Donald
I tried this code:
<
telerik:RadEditor
Height
=
"300px"
ID
=
"RadEditor1"
EnableResize
=
"false"
Style
=
"margin-top: 100px"
ToolbarMode
=
"ShowOnFocus"
EnableViewState
=
"false"
runat
=
"server"
OnClientLoad
=
"initialieAutoComplete"
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function initialieAutoComplete() {
var myEditor = $find("<%=RadEditor1.ClientID%>");
if (myEditor === null) {
alert("RadEditor reference is NULL.");
}
var contentArea = myEditor.get_contentArea();
if (contentArea === null) {
alert("RadEditor CONTENT AREA reference is NULL.");
}
$(document).ready(function() {
contentArea.kendoAutoComplete({
and received this result:
Uncaught TypeError: Object [object HTMLBodyElement] has no method 'kendoAutoComplete'
I don't know what else to try.
I am working on customizing kENDO AutoComplete all during the Christmas holidays because a client needs the capability the first week of January. I'd really appreciate your help even though it probably involve another Telerik team and it's the holiday season.
Many thanks,
Donald
0
Hello,
Atanas Korchev
the Telerik team
We are not really sure what you are after. Could you please clarify?
Generally speaking the Kendo Autocomplete can extend only input HTML elements whereas the RadEditor content area is an IFRAME.
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Donald
Top achievements
Rank 1
answered on 29 Dec 2011, 03:40 PM
Hi Atanas,
My applkication needs to do AutoComplete in the RAD Editor and paste in XHTMLmakered up with <span>s.
I am very carefully and surgically modifying the Kendo framework (using Comments to identify the additions/changes) so that I can do this. I have much of the "marked-up XHtml" parts working from content from the sQL Server database of my Telerik ASPX application.
I guess I now need some help from Telerik to modify AutoComplete so that it will work with the RadEditor ContentArea IFRAME.
I am willing to give my modifications to Telerik to add this feature to RadEditor and eextend the capabiility of Kendo AutoComplete generally in return for the extra help I need to cusomize AutoComplete for RadEditor (and hoefully some points as well).
If you can give me some guidance on the general appraoch to extending Autodcomplete to support as IFRAME as well as input HTML elemets, I will work on it finding as many of my own detailed answers as I can, and only ask for more help if I get really stuck.
This should be a good deal for both Telerik and my company.
Many Thanks,
Donald
My applkication needs to do AutoComplete in the RAD Editor and paste in XHTMLmakered up with <span>s.
I am very carefully and surgically modifying the Kendo framework (using Comments to identify the additions/changes) so that I can do this. I have much of the "marked-up XHtml" parts working from content from the sQL Server database of my Telerik ASPX application.
I guess I now need some help from Telerik to modify AutoComplete so that it will work with the RadEditor ContentArea IFRAME.
I am willing to give my modifications to Telerik to add this feature to RadEditor and eextend the capabiility of Kendo AutoComplete generally in return for the extra help I need to cusomize AutoComplete for RadEditor (and hoefully some points as well).
If you can give me some guidance on the general appraoch to extending Autodcomplete to support as IFRAME as well as input HTML elemets, I will work on it finding as many of my own detailed answers as I can, and only ask for more help if I get really stuck.
This should be a good deal for both Telerik and my company.
Many Thanks,
Donald
0
Hi,
Atanas Korchev
the Telerik team
I am afraid I still don't understand what you requirements are. Do you want a single autocomplete to appear instead of the editor content area or an autocomplete for every word? Are you trying to implement something like the autocomplete feature which is present in text editors? If yes I don't think the autocomplete will help you as it serves a different purpose - to enhance a textbox with suggestion capabilities.
Regards,Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!