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
  1. Home
  2. Web Development
  3. ASP.NET
  4. problem with Ajaxcontroltoolkit

problem with Ajaxcontroltoolkit

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptvisual-studiodesign
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RayD111
    wrote on last edited by
    #1

    using Visual Studio 2015 community , VB existing project has page that includes a timer and updatepanel I am trying to add ajax combobox project builds without error however, running priject return the following error Unhandled exception at line 429, column 5 in http://localhost:59875/Courier/CustDefault 0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference error occurs here Sys.Application.add_init(function() { $create(Sys.Extended.UI.ComboBox, {"autoCompleteMode":0,"buttonControl":$get("MainContent_ComboBox1_ComboBox1_Button"),"comboTableControl":$get("MainContent_ComboBox1_ComboBox1_Table"),"dropDownStyle":1,"hiddenFieldControl":$get("MainContent_ComboBox1_ComboBox1_HiddenField"),"optionListControl":$get("MainContent_ComboBox1_ComboBox1_OptionList"),"selectedIndex":-1,"textBoxControl":$get("MainContent_ComboBox1_ComboBox1_TextBox")}, null, null, $get("MainContent_ComboBox1")); }); I have followed all suggestions that I could find revelent on the web with no success, Any Ajax control will return error remove control and project runs without error Iknow i,ve done something stupid but can't figure out what Suggestions appreciated Ray

    B L 2 Replies Last reply
    0
    • R RayD111

      using Visual Studio 2015 community , VB existing project has page that includes a timer and updatepanel I am trying to add ajax combobox project builds without error however, running priject return the following error Unhandled exception at line 429, column 5 in http://localhost:59875/Courier/CustDefault 0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference error occurs here Sys.Application.add_init(function() { $create(Sys.Extended.UI.ComboBox, {"autoCompleteMode":0,"buttonControl":$get("MainContent_ComboBox1_ComboBox1_Button"),"comboTableControl":$get("MainContent_ComboBox1_ComboBox1_Table"),"dropDownStyle":1,"hiddenFieldControl":$get("MainContent_ComboBox1_ComboBox1_HiddenField"),"optionListControl":$get("MainContent_ComboBox1_ComboBox1_OptionList"),"selectedIndex":-1,"textBoxControl":$get("MainContent_ComboBox1_ComboBox1_TextBox")}, null, null, $get("MainContent_ComboBox1")); }); I have followed all suggestions that I could find revelent on the web with no success, Any Ajax control will return error remove control and project runs without error Iknow i,ve done something stupid but can't figure out what Suggestions appreciated Ray

      B Offline
      B Offline
      Blikkies
      wrote on last edited by
      #2

      Replace asp:ScriptManager with ajaxToolkit:ToolkitScriptManager

      1 Reply Last reply
      0
      • R RayD111

        using Visual Studio 2015 community , VB existing project has page that includes a timer and updatepanel I am trying to add ajax combobox project builds without error however, running priject return the following error Unhandled exception at line 429, column 5 in http://localhost:59875/Courier/CustDefault 0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference error occurs here Sys.Application.add_init(function() { $create(Sys.Extended.UI.ComboBox, {"autoCompleteMode":0,"buttonControl":$get("MainContent_ComboBox1_ComboBox1_Button"),"comboTableControl":$get("MainContent_ComboBox1_ComboBox1_Table"),"dropDownStyle":1,"hiddenFieldControl":$get("MainContent_ComboBox1_ComboBox1_HiddenField"),"optionListControl":$get("MainContent_ComboBox1_ComboBox1_OptionList"),"selectedIndex":-1,"textBoxControl":$get("MainContent_ComboBox1_ComboBox1_TextBox")}, null, null, $get("MainContent_ComboBox1")); }); I have followed all suggestions that I could find revelent on the web with no success, Any Ajax control will return error remove control and project runs without error Iknow i,ve done something stupid but can't figure out what Suggestions appreciated Ray

        L Offline
        L Offline
        lokerjobindo
        wrote on last edited by
        #3

        Looking at the error message, you might have a reference (a mention of) to System.Web.Extensions.dll in your web.config. Try and remove that line from web.config. If the machine does not have the 2.0 version of the System.Web.Extensions.dll that could be your issue. You may need to re-download/install the .NET 2.0 version of the Ajax extensions from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en thanks sign Lowongan Kerja S1

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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