11-07-2007, 7:39 AM
|
gtrDave

Joined on 05-16-2007
Cedar Rapids Area
Posts 2
|
ASP.NET Problem/Bug/Bad Setting: runat="server"
|
 
 
|
|
|
I'm not sure where to post this in cyberland, so I'm going to start w/our corner of it in hopes someone can help.
ASP.NET seems cursed to me as I find myself getting issues that disable my usage that nobody knows about.
I create any ASP.NET web app (VB, C#), & am @ the design view. I drag a button (any toolbox item - same result) onto the design view & double click it to go to the code behind view. Instead, I'm taken to the Source View & my click event is placed into tags? The code behind doesn't appear to be touched at all, as adding code to it doesn't work.
Another interesting warning has appeared, & the only web results I've found is associated w/VS05 Express saying "don't worry about it, next update will fix it". But this warning appears regarding CodeBehind/source view (CodeBehind="Default.aspx.cs"):
***
Attribute 'Codebehind' in the @ Page directive is no longer supported. Convert this page to the new code-behind model by opening the Web site (project) containing the page in Visual Web Developer.
***
This has began happening on all new apps; my previous apps appear to work? I know there's a mysterious setting I've switched, but where? How?
Any help, or directions to solutions would make me feel all squishy inside.
Dave Paris http://www.daveparis.com
|
|
|
|
|
Report
|
|
|
|