Solved

converting a vs 2003 ap to vs 2010

Posted on 2013-01-28
7
268 Views
Last Modified: 2013-01-30
i have a datagrid control which i was expecting to run into problems with when i converted to 2010.

i created a 2010 solution and did an add existing web site to pull in the 2003 ap.  I was expecting the conversion wizard to come up but it didn't.  It came in without errors just a bunch of warnings.  So the ap runs fine...datagrid shows and everything.

So i'm wondering if there is a setting somewhere...maybe its my web.config? that is allowing this control to work.  I don't see the datagrid control in my toolbox, but if i view in design pane the control shows up fine.  

thanks
0
Comment
Question by:Fraser_Admin
  • 3
  • 2
  • 2
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38828265
No.  For an ASP.Net app, unless you changed the underlying .NET Framework, there's no coversion necessary.
0
 

Author Comment

by:Fraser_Admin
ID: 38828280
where do i change the underlying framework.  i want to use 4.0 not the one that is commonly used with vs 2003.

if i right click on the web site and choose property pages the framework here shows as 4?
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 38828342
Yes, in the Property Pages for the web site, in the "Build" section, set the Target Framework to whatever you want to use.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38830559
0
 

Author Comment

by:Fraser_Admin
ID: 38830656
I thought other aps I converted to .NET 3.5 chocked with datagrid.  Was it not allowed in 3.5 but now allowed in 4?  Funny I don't see it under the toolbox??
0
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 38830984
The <asp:datagrid> doesn't show up in the default toolbox, but it's still a valid control.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38832028
And it exists in 3.5 as well. I think its the DataGrid in winforms that was replaced by DataGridView.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

910 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now