Hi All,
I'm currently attempting a project in web development using c#. My experience in either is admittedly limited but I just wanted to try and clear up some things that I'm not sure I've either understood correctly or am implementing correctly.
I've created a home page and can navigate between pages, however, how do I ensure that all buttons are positioned uniformly on each page? I've tried implementing CSS for fonts but this doesn't seem to work for backgrounds. Also, to try and get uniformity (and in honesty save time) I wanted to copy this to use for future pages but then I get parameter errors as the button names are already defined on the home page? Is there an easy way of getting around this?
As I say, I'm looking for the same format across all pages? Apologies if this is a silly/basic question, I'm just trying to understand how it all works!
Any help/advice is appreciated.
Thanks,
Kate

Katie B9 reputationPosted Mar 27, 2015, 3:07 AM EDT
Hi Khargesh,
Sorry, just trying to understand for future reference….I still feel all too new to this!
So if I add those tags behind the master and child page respectively it should then allow editing and I can (as I understand from that link) add a content placeholder within the master page that will then knock onto the child page and allow editing?
Or have I misunderstood?
Thank you for your time and patience on this one!
Many Thanks,
Kate
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 25, 2015, 5:11 PM EDT
And then add all childpages in masterpage
Read about masterpage from google
http://www.codeproject.com/Articles/333650/Beginner-s-Tutorial-on-Master-Pages-in-ASP-NET
http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/creating-a-site-wide-layout-using-master-pages-cs
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted Mar 25, 2015, 8:28 PM EDT
for this you can refer...
http://www.codeproject.com/Articles/333650/Beginner-s-Tutorial-on-Master-Pages-in-ASP-NET
http://www.asp.net/web-forms/overview/older-versions-getting-started/master-pages/multiple-contentplaceholders-and-default-content-cs
Katie B9 reputationPosted Mar 26, 2015, 12:50 PM EDT
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 26, 2015, 7:40 PM EDT
may be your textbox on masterpage, then you can change it on masterpage designview or sourceview.
I you are adding new childpage then controls of childpage can be edited in child page
Katie B9 reputationPosted Mar 27, 2015, 2:31 AM EDT
Hi Khargesh,
I did think that I should be able to edit the child page from the child page but im only getting that void symbol.
I hope you can see the screen shot above.
Many Thanks for your help!
Kate
Khargesh RajputRank #616 · 3.9K reputationPosted Mar 27, 2015, 2:40 AM EDT
you have to add textbox or your content you want to use in child page add in child page
masterpage content like this
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
and child page
like
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" %>
visit
http://www.codeproject.com/Articles/325865/Creating-Master-Page-In-ASP-NET