troubleshooting Question

How to read asp:dropdownlist

Avatar of sunseshasai
sunseshasai asked on
8 Comments1 Solution783 ViewsLast Modified:
I am using ASP.NET 1.1 Version.
I have two asp:dropdownlists named BooksTotalList and BooksSelectedList.

I am binding the BooksTotalList from database. And then I am using Javascript to move selected books from BooksTotalList to BooksSelectedList. This all works fine.

Now at the click of asp:button, I want to read the BooksSelectedList dropdownlist and do the processing.
When I try to read it gives me the following error
System.NullReferenceException: Object reference not set to instance of an object.

Please let me know how to solve this.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros