I want to know that how to design an autocomplete frontage in ASP.NET with C# . what additional controls I need to add ? Can someone help me ?
Thanks
I want to know that how to design an autocomplete frontage in ASP.NET with C# . what additional controls I need to add ? Can someone help me ?
Thanks
ASP.NET is not platform-independent. Because it is hosted by IIS, ASP.NET must run on Windows-based servers that have the Microsoft .NET Framework installed. Therefore, you cannot use FrontPage 2003 to create ASP.NET pages that are hosted on non-Windows-based servers, such as those running Linux or Apache.
If you choose Tools and then Options from the menu bar, and click the Configure Editors tab, you can see which file extensions you can open with FrontPage. ASP.NET files typically have an .aspx file extension. However, you might encounter other types of files. For example, when you create a database connection, FrontPage also creates an /_Fpclass folder, as it does with ASP pages. The difference is that when you are using ASP.NET, FrontPage includes a number of configuration files and utilities for working with ASP.NET pages and database connections. These files are called "user controls" and have an .ascx file extension.
You can also use class files in code-behind pages, which is discussed later in this article. For example, if you had a Default.aspx page, you might also see a Default.cs or Default.vb page as well. The .cs extension indicates that the code was written in C# (pronounced "see sharp"), and the .vb extension indicates files written in Microsoft Visual Basic .NET.
The textbox is linked with an AutoCompleteExtender which is initialized with this code. The italic properties are optional:
TargetControlID - The TextBox control where the user types content to be automatically completed.Code:<ajaxToolkit:AutoCompleteExtender runat="server" ID="autoComplete1" TargetControlID="myTextBox" ServiceMethod="GetCompletionList" ServicePath="AutoComplete.asmx" MinimumPrefixLength="2" CompletionInterval="1000" EnableCaching="true" CompletionSetCount="20" CompletionListCssClass="autocomplete_completionListElement" CompletionListItemCssClass="autocomplete_listItem" CompletionListHighlightedItemCssClass="autocomplete_highlightedListItem" DelimiterCharacters=";, :" ShowOnlyCurrentWordInCompletionListItem="true"> <Animations> <OnShow> ... </OnShow> <OnHide> ... </OnHide> </Animations> </ajaxToolkit:AutoCompleteExtender>
ServiceMethod - The web service method to be called. The signature of this method must match the following:
Code:[System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public string[] GetCompletionList(string prefixText, int count)
Bookmarks