Solved

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

Posted on 2004-10-04
5
922 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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