Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Balwinder_singh

@Balwinder_singh
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Auto Complete textbox
    B Balwinder_singh

    I have tried this also still the same. I have added the script manager and the autocomplete to the textbox. The command is actually to auto suggest when the enduser types alphabet. Say in case he types ind the webpage should suggest India Indonesia. I think there is some problem with the command used below but couldnt figure out what needs to be changed. Dim country As String = ("India", "UK", "Indonesia", "Japan", "Sri Lanka", "Singapore") ' Return matching country Return From m In country Where m.ToString.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) Select m Take (count).ToString.ToCharArray

    ASP.NET help

  • Auto Complete textbox
    B Balwinder_singh

    Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30198: ')' expected. Source Error: Line 76: Line 77: Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String() Line 78: Dim country As String = ("India", "UK", "Indonesia", "Japan", "Sri Lanka", "Singapore") Line 79: ' Return matching country Line 80: Return From m In country Where m.ToString.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) Select m Take (count).ToString.ToCharArray Source File: C:\Documents and Settings\balwinder_singh\My Documents\Visual Studio 2008\WebSites\correction\Default.aspx.vb Line: 78 Made some changes still no clue about error.

    ASP.NET help

  • Auto Complete textbox
    B Balwinder_singh

    Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30198: ')' expected. Source Error: Line 76: Line 77: Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String() Line 78: Dim country As String = ("India", "UK", "Indonesia", "Japan", "Sri Lanka", "Singapore") Line 79: ' Return matching movies Line 80: Return From m In country Where m.ToString.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) Select m Take (count).ToString.ToCharArray Source File: C:\Documents and Settings\balwinder_singh\My Documents\Visual Studio 2008\WebSites\correction\Default.aspx.vb Line: 78 This is the error I am getting .

    ASP.NET help

  • Auto Complete textbox
    B Balwinder_singh

    I am trying to run this for auto complete. Everything is working fine, but getting error Return From m In country Where m.ToString.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) Select m Take (count).ToString.ToCharArray :laugh: Public Function GetCompletionList(ByVal prefixText As String, ByVal count As Integer) As String() Dim country As String = ("India", "UK", "Indonesia", "Japan", "Sri Lanka", "Singapore") ' Return matching movies Return From m In country Where m.ToString.StartsWith(prefixText, StringComparison.CurrentCultureIgnoreCase) Select m Take (count).ToString.ToCharArray End Function Please suggest what needs to be corrected.

    ASP.NET help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups