'object required' ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • CreativeMind

    'object required' ?

    hi all,
    I updated my application from VS2003(.NET framework 1.1) to
    VS2008(.NET framework 3.5).
    My form uses a dropdownlist cboLocation. In 1.1 there is no error
    accessing that form. but when i use 3.5, i get error of 'object
    required'. when i break and quick-watch the value of
    document.getEle mentById("cboLo cation") , it shows 'null'. btw, there
    is a value in dropdownlist. what should i change??
  • Thomas 'PointedEars' Lahn

    #2
    Re: 'object required' ?

    CreativeMind wrote:
    I updated my application from VS2003(.NET framework 1.1) to
    VS2008(.NET framework 3.5).
    My form uses a dropdownlist cboLocation. In 1.1 there is no error
    accessing that form. but when i use 3.5, i get error of 'object
    required'. when i break and quick-watch the value of
    document.getEle mentById("cboLo cation") , it shows 'null'. btw, there
    is a value in dropdownlist. what should i change??
    Try Brain 1.0 instead.

    <http://catb.org/~esr/faqs/smart-questions.html>


    PointedEars
    --
    Anyone who slaps a 'this page is best viewed with Browser X' label on
    a Web page appears to be yearning for the bad old days, before the Web,
    when you had very little chance of reading a document written on another
    computer, another word processor, or another network. -- Tim Berners-Lee

    Comment

    • jdalton

      #3
      Re: 'object required' ?

      View the source of the page and see if there is an element with the ID
      of "cboLocatio n".
      If it's in a master template control or something it may have a prefix
      automatically added to the ID.

      - JDD

      Comment

      Working...