9 ) Masterpage

                                             *  MASTERPAGE *

  •   Masterpage is commmon to all
  •    Masterpage extension
       Masterpage Section
  1.      Header :-  Logo ,company name
  2.      Menu   :-  Option (home, about , menu)
  3.      Folder  :- Copyright
  4.      Placeholder :- Viewing in all page

  Q) How to create a masterpage 

      Step 1 :- file ---c#---website--folder---solutionexplorer--select root and website ---add                         new item---visual C#---MasterPage---masterpagename:- name.master--add...

     step 2 :-Source :- <div> 
                                        remover full <div> </div> tag
                                 </div>
     step 3:- Design :- toolbox---html table --first horizontal line _ _ _ ( Shift + --> ) select 3                    line and right click ---modify ---merge cell... 
    step 4:- add Linkbutton(home,about,contact) and select properties :- postbackurl and                         select page 
   Step 5:- add Containtplaceholder holder  in merge html table 
       
  •           Contain place holder always blank in masterpage .

   Q ) How to connect aspx page to master page 

          Step 6:- solution explorer ---root---website---add new item ---C#---Create 3Webform( home,about,contact)---select master page [ tick select in downside]---add---select your masterpage---ok..

                              





Comments

Popular posts from this blog

DATA CONTROL ( Gridview , Repeater , Formview , DataList , Detailsview , Listview )

Z 5 ) MVC (Model view Controller)

Z 8 ) MVC HTMLHELPER METHOD AND ACTIONLINK (how to use css ,atrributes,style in css)