9 ) Masterpage
* MASTERPAGE *
- Masterpage is commmon to all
- Masterpage extension
Masterpage Section
- Header :- Logo ,company name
- Menu :- Option (home, about , menu)
- Folder :- Copyright
- 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
Post a Comment