?
Solved

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

Posted on 2004-10-04
5
Medium Priority
?
952 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

862 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