Master/Content pages or User Controls?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all! I'm new to 2.0. I use user controls, and since 99% of browsers have
css now, I use absolute positioning to place my user controls.(Top banners,
menus on the left side etc). In my case, what is the advantage of
Master/Content? I could see it if I used tables for my pages... Don't user
controls do most of what Master/Content does?

Tks
Justin Dutoit
 
Hi Justin
U might have studied about Master Pages...In non technical terms I can
say that Master Pages can be used to keep a common part of the
application which will appear on each page..For example, If u have to
include ur photograph on each and every page of ur website, So u dont
have to include again and again.Just do it once in master page and give
directive of master page in source of each web page....It has some
advantages like....reduction in code length...which makes ur
application fast.....Regarding user controls they cant do the job so
easily as compared to master pages..
--Raghav
 
Back
Top