Solved

System.Web.UI.WebControls.DropDownList' does not contain a definition for 'SelectedValue'.

Posted on 2004-10-04
5
916 Views
Last Modified: 2008-02-20
After downloading a project made in VS2003, i converted to VS2002, and now is getting a compilation error for
System.Web.UI.WebControls.DropDownList' does not contain a definition for 'SelectedValue'.
Is there a way to work around this.
I have .Net framework 1.1 installed, but is using VS2002.

0
Comment
Question by:MOvais_Khan
  • 3
  • 2
5 Comments
 
LVL 17

Accepted Solution

by:
AerosSaga earned 500 total points
ID: 12216608
try using:

DDL.SelectedItem.Value

Aeros
0
 

Author Comment

by:MOvais_Khan
ID: 12216674
No sir, same
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12216714
Look I just installed NGallery with the installer heres what I did, your doing way too much work here:

1) delete any virtual directory that you already have for Ngallery
2) add/remove programs make sure ngallery is gone from there
3) start the installer
4) click yes next i agree all the way through
5) navigate to http://localhost/ngallery
6) enjoy

**You will not see an Ngallery folder or vd until you hit the http address once

I just completed this in 3 minutes

Aeros
0
 

Author Comment

by:MOvais_Khan
ID: 12216757
Glad that it did not much post problems to you. I guess , not having VS2003 is hurting me. Anyways, your earlier suggestion of SelectedItem.Value worked. Apologies, i tried something else and quick to shoot ans. Anyways, the project is build now. let me check it. Meanwhile, thanks a million for all the help. You are a Gem
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12216763
the virtual directory created will map the the physical path to:
C:\Program Files\nGallery\web
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question