Click here to Skip to main content
15,905,323 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
-Muc_7-Oct-09 4:34
-Muc_7-Oct-09 4:34 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
Kannan Ar7-Oct-09 4:45
professionalKannan Ar7-Oct-09 4:45 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
-Muc_7-Oct-09 4:58
-Muc_7-Oct-09 4:58 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
dojohansen7-Oct-09 4:30
dojohansen7-Oct-09 4:30 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
-Muc_7-Oct-09 4:37
-Muc_7-Oct-09 4:37 
AnswerRe: How to transfer the collected values of javascript in ajax Pin
dojohansen7-Oct-09 4:22
dojohansen7-Oct-09 4:22 
GeneralRe: How to transfer the collected values of javascript in ajax Pin
-Muc_7-Oct-09 4:57
-Muc_7-Oct-09 4:57 
QuestionTarget Framework and/or compiler version with ASP.NET dynamic compilation Pin
dojohansen7-Oct-09 3:20
dojohansen7-Oct-09 3:20 
Hi,

To avoid any helpful but irrelevant answers: I'm not talking about deployment here, only of my dev environment!

I am using VS-2008 and wish to target Framework 3.5 and use the v3.5 C# compiler. (It is of course possible to use Framework 2.0 libraries with new compiler features such as type inference or anonymous types.) But for some reason this project (the only one of 19 in the solution!) apparently gets built for 2.0 or using a v2.0 C# compiler.

The web project appears in solution explorer as "http://localhost/dev/" (I call this the "web project" but there is no project file and I believe this is what MS calls the "web site" model, as opposed to the "web application" model). I can't find any compiler options.

If I right-click the web site in solution explorer and choose "property pages", then go to "build", the Target Framework option is ".NET Framework 3.5". But if I right-click the site and choose "build web site", the project will not build if any using directives referring to Linq namespaces are included, nor if any code in the site uses C# features newer than C# 2.0, such as

var x = 5;


(While this code itself is stupid it's a good example because this clearly only depends on the compiler and not on the framework version.)

If I fire up the browser and point it at my site, the dynamic compilation process gets underway and produces a build error ("CS0246: The type or namespace 'var' cannot be resolved", loosely translated from French as I unfortunately have to work in the French locale). At the bottom of this standard asp.net error page it says

Version Information: Version Microsoft .NET Framework :2.0.50727.3082; Version ASP.NET :2.0.50727.3082

Any idea how to correct this and use Framework 3.5 and the v3.5 C# compiler? I've searched MSDN and found nothing helpful; it always points me to the property pages where it already says this project is targeting 3.5!
Questionproblem in click the FAQ or help title - will go to the corresponding content Pin
janani137-Oct-09 3:06
janani137-Oct-09 3:06 
AnswerRe: problem in click the FAQ or help title - will go to the corresponding content Pin
Manas Bhardwaj7-Oct-09 3:13
professionalManas Bhardwaj7-Oct-09 3:13 
GeneralRe: problem in click the FAQ or help title - will go to the corresponding content Pin
janani137-Oct-09 3:34
janani137-Oct-09 3:34 
QuestionTo get icepak model,problem files Pin
Muktish KG7-Oct-09 3:04
Muktish KG7-Oct-09 3:04 
AnswerRe: To get icepak model,problem files Pin
Manas Bhardwaj7-Oct-09 3:15
professionalManas Bhardwaj7-Oct-09 3:15 
QuestionGridview Row created Event Pin
4anusha47-Oct-09 2:57
4anusha47-Oct-09 2:57 
AnswerRe: Gridview Row created Event Pin
Kannan Ar7-Oct-09 4:17
professionalKannan Ar7-Oct-09 4:17 
GeneralRe: Gridview Row created Event [modified] Pin
4anusha47-Oct-09 18:26
4anusha47-Oct-09 18:26 
GeneralRe: Gridview Row created Event Pin
janani137-Oct-09 19:16
janani137-Oct-09 19:16 
GeneralRe: Gridview Row created Event Pin
sashidhar7-Oct-09 19:18
sashidhar7-Oct-09 19:18 
GeneralRe: Gridview Row created Event Pin
4anusha47-Oct-09 19:34
4anusha47-Oct-09 19:34 
Questionbind datasets in a single gridview Pin
rummer7-Oct-09 2:50
rummer7-Oct-09 2:50 
AnswerRe: bind datasets in a single gridview Pin
Sneha Bisht7-Oct-09 2:55
Sneha Bisht7-Oct-09 2:55 
AnswerRe: bind datasets in a single gridview Pin
Kannan Ar7-Oct-09 4:22
professionalKannan Ar7-Oct-09 4:22 
AnswerRe: bind datasets in a single gridview Pin
praveen.c@byzan.com8-Oct-09 0:29
praveen.c@byzan.com8-Oct-09 0:29 
QuestionRegarding Browser restriction Pin
santhoah33kumar7-Oct-09 1:34
santhoah33kumar7-Oct-09 1:34 
AnswerRe: Regarding Browser restriction Pin
Kannan Ar7-Oct-09 1:41
professionalKannan Ar7-Oct-09 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.