Solved

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

Posted on 2004-10-04
5
914 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

805 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