Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is the Difference between designing the page through source and design in asp.net?
Which princple should use?
Posted
Updated 28-Apr-11 19:24pm
v2

durgeshtupkar10 wrote:
Which princple should use?


You actually can use both. The source part is used so you can see your controls, their control names, your scripts, etc. The design part gives you an bit of an idea on how the page is going to look like.
 
Share this answer
 
Comments
durgeshtupkar10 29-Apr-11 1:44am    
but some of my .net friends told me that you must have to use source part to perform changes in design of the page. Is it so & why?
walterhevedeich 29-Apr-11 2:16am    
Its a matter of personal choice. Using the source part is a lot faster when designing since it only contains text, as opposed to using design, in which you see the controls, and therefore consumes more memory when loading the page. On the other hand, you also want to have an idea of what the page will look like, so you will have to use the design part to achieve this. Of course there are other ways, like deploy it in IIS, or run it in Visual Studio. As I said, Its a matter of your personal preference.
Hope this[^] might help you.
 
Share this answer
 
in source you can control the layouts more than design
 
Share this answer
 
Comments
durgeshtupkar10 29-Apr-11 1:57am    
layouts means CSS,Templates,Classes,Styles?
Here's all you need to know about Design View[^] and Source View[^].

I personally use combination of both as the combination give me the flexibility of controlling the layout of the page pretty well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900