null value

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

    null value

    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??
  • Mark Rae [MVP]

    #2
    Re: null value

    "CreativeMi nd" <aftab.pucit@gm ail.comwrote in message
    news:3731d6ce-1d00-4c62-90cb-64166bb798d8@a1 g2000hsb.google groups.com...
    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??
    Sounds like standard Visual Studio "munging" of client-side DOM object
    names...

    In which case:

    document.getEle mentById('<%=cb oLocation.Clien tID%>')


    --
    Mark Rae
    ASP.NET MVP


    Comment

    Working...