Hi all,
I have an autocomplete ajax textbox in a page that is working fine in edit mode, but doesn't work when the page is in view mode. I'm at a loss as to why.
If i look at the page source, I see that the view mode page is missing something like this on the bottom:
<script type="text/javascript">
<!--
Sys.Application.add_init(function() {
$create(Sys.Preview.UI.AutoCompleteBehavior, {"completionInterval":1,"minimumPrefixLength":2,"serviceMethod":"get_smoel2","serviceURL":"../../../../get_smoel.asmx"}, null, null, $get("dnn_ctr373_AddReservering_smoel_string_aanvrager"));
});
Sys.Application.add_init(function() {
$create(Sys.Preview.UI.AutoCompleteBehavior, {"completionInterval":1,"minimumPrefixLength":2,"serviceMethod":"get_smoel2","serviceURL":"../../../../get_smoel.asmx"}, null, null, $get("dnn_ctr373_AddReservering_smoel_string_ontvanger"));
});
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"dnn_ctr373_AddReservering_UP","displayAfter":500,"dynamicLayout":true}, null, null, $get("dnn_ctr373_AddReservering_UP_Prog"));
});
// -->
</script>
The reference to the scriptmanager is include (dnn 4.5.4), and oddly enough, it works fine in an other control of the same module (even without the reference to the scriptmanager)
Have you got an idea where I should look for the solution?
greetings
bj