.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 23rd, 2002, 11:27 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 23
Using HTML Script vs. Code Behind

<i><b>Originally posted by : Julia Lerman (jlerman@thedatafarm.com)</b></i><br /><br />In all of the examples I have been using thus far with ASP.Net (QuickStarts, ASP.Net Tips, Tutorials & Code) there is extensive use of SCRIPT in html, rather than putting the functionality in the code-behind file.<br /><br />I can't seem to find a discussion in any of my resources of when you would want to use one over the other. I had somehow gotten the impression that one would put all of their code in the code-behind. These examples show me that that is not completely "TRUE" or necessary, but they seem also to show that there must be other very good reasons NOT to use code-behind. I've done a bunch of ASP/HTML web stuff in the past so this isn't completely new to me. Plus I have been working in VB for 5 years - so I'm very used to just doubleclicking on a form which of course, now leads me to code-behind. So I am totally confused about this. I think it's going to be one of the big paradigm shifts for me! Is there a road map about the use of one over the other? Does anyone know why it is that the examples would do the html scripting instead of code-behind? Is it just as a learning hook maybe?<br /><br />Thanks much<br />jlerman@thedatafarm.com

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Using HTML Script vs. Code Behind


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT