ASP.NET
Pls any one check this Javascript

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="tt_suppliegroupsetup.ascx.cs" Inherits="UserControls_tt_suppliegroupsetup" %>(here it indicates  Too many characters in character literal)


<script type="text/javascript">
function SetContextKey() {
$find('<%=AutoCompleteExtender1.ClientID>%').set_contextKey($get("<%=ddlCities.ClientID %>").value);
}
Member Avatar for stbuchok

It actually doesn't have to do with the JavaScript as that is a C# error message. However you did make a mistake in the JavaScript when referencing AutoCompleteExtender1.ClientID

I'll give you a hint, this ">%" is wrong.

Thank you so much dear.I want to achieve that when a user SELECT a City from dropdown list then zipcode that is present in the current from table it will be filtered by city then zipcode textbox give us suggestion when user press single numeric value like 1.Please i need to implement by today.i need source code for complete solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.