Siavash Siavash - 1 year ago 78
ASP.NET (C#) Question

Textbox AutoComplete ( call handler in .ascx page)

I want to call Generic Handler in

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" ) %>' });

Div Div
Answer Source

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.