'object required' ?

C

CreativeMind

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.getElementById("cboLocation") , it shows 'null'. btw, there
is a value in dropdownlist. what should i change??
 
T

Thomas 'PointedEars' Lahn

CreativeMind said:
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.getElementById("cboLocation") , 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
 
J

jdalton

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

- JDD
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top