Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-05-2009
Member
 
Join Date: May 2009
Posts: 22
Frontpage asp autocomplete

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
Reply With Quote
  #2  
Old 19-05-2009
Member
 
Join Date: Nov 2008
Posts: 29
Re: Frontpage asp autocomplete

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.
Reply With Quote
  #3  
Old 19-05-2009
Member
 
Join Date: Dec 2008
Posts: 41
Re: Frontpage asp autocomplete

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.
Reply With Quote
  #4  
Old 19-05-2009
Member
 
Join Date: Nov 2008
Posts: 70
Re: Frontpage asp autocomplete

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.
Reply With Quote
  #5  
Old 19-05-2009
Member
 
Join Date: Jul 2008
Posts: 92
Re: Frontpage asp autocomplete

The textbox is linked with an AutoCompleteExtender which is initialized with this code. The italic properties are optional:

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>
TargetControlID - The TextBox control where the user types content to be automatically completed.

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)
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Frontpage asp autocomplete"
Thread Thread Starter Forum Replies Last Post
Can I have FrontPage Server Extentions on IIS 7.5? Aerona Technology & Internet 5 21-06-2011 11:18 AM
How to combine the use of FrontPage and Dreamweaver Kaufman Software Development 5 05-03-2010 01:42 AM
How to insert Flash animations in FrontPage Mahish Software Development 4 05-03-2010 01:03 AM
How to set navigation views in FrontPage XP Galbraith Software Development 5 23-02-2010 06:12 AM
Need FrontPage 2002 extension plug-in Makayla-alex Windows Software 4 14-02-2010 03:54 AM


All times are GMT +5.5. The time now is 02:17 AM.