By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,600 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,600 IT Pros & Developers. It's quick & easy.

'object required' ?

P: n/a
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??
Jul 9 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.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
--
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
Jul 9 '08 #2

P: n/a
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
Jul 9 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.