Siavash Siavash - 21 days ago 12
ASP.NET (C#) Question

Textbox AutoComplete ( call handler in .ascx page)

I want to call Generic Handler in

.ascx
page for textbox autocomplete in dotnetnuke module.

I use this code but not working

<script type="text/javascript">
$(document).ready(function () {
$("[id*=txtSearch]").autocomplete({ source: '<%=ResolveUrl("~/Search_CS.ashx" ) %>' });
});
</script>

Div Div
Answer

You get an error in console. probably your autocomplete URL goes wrong when you call Generic Handler, and this doesn't relate with dotnetnuke.

If you're new to javascript/Jquery please check this, for checking console log.

Comments