Search
ASP.NET Problem/Bug/Bad Setting: runat="server"
Started by gtrDave at 11-07-2007 7:39 AM. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  11-07-2007, 7:39 AM
gtrDave is not online. Last active: 8/11/2008 4:44:31 PM gtrDave



Top 50 Posts
Joined on 05-16-2007
Cedar Rapids Area
Posts 2
ASP.NET Problem/Bug/Bad Setting: runat="server"
Reply Quote

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 
  01-15-2008, 5:05 AM
gater is not online. Last active: 7/30/2008 6:27:07 PM gater

Top 50 Posts
Joined on 01-15-2008
Posts 2
Re: ASP.NET Problem/Bug/Bad Setting: runat="server"
Reply Quote
Did you ever get this figured out?

If you could post the code I can take a look at it
   Report 
  01-15-2008, 6:19 AM
gtrDave is not online. Last active: 8/11/2008 4:44:31 PM gtrDave



Top 50 Posts
Joined on 05-16-2007
Cedar Rapids Area
Posts 2
Re: ASP.NET Problem/Bug/Bad Setting: runat="server"
Reply Quote
Well, I just tried a new app & it appeared to work. I've been working on an ASP.NET app where another programmer created the master pgs & design & I did the code behind, so maybe whatever was set wrong got set right from that? I don't have any new ASP.NET apps coming up soon but I'll post if it occurs again, but the issue I've described previously didn't happen this time, hopefully it's gone??
Dave Paris
http://www.daveparis.com
   Report 
Post
CRINETA » .NET Discussion... » General .NET Di... » ASP.NET Problem/Bug/Bad Setting: runat="server"

Copyright Cedar Rapids INETA, 2005 All rights reserved.

Powered by Community Server, by Telligent Systems