Johan: Ok I will try and explain more precisly.
'default.aspx' is a page template that is used on the the page type 'startsida'.
default.aspx's front end has the following code
default.aspx's back end has alot of code. Like:
public string str;public string Event1Date;public string Event1Time;public string Event1Place;public string Event1Header;public string Event1Text;public string Event1Link;
PageDataCollection myPages = new PageDataCollection();
PageReference page = CurrentPage["FirstEvent"] as PageReference;
PageData Event0 = DataFactory.Instance.GetPage(page);
PageReference page2 = CurrentPage["SecondEvent"] as PageReference;
PageData Event1 = DataFactory.Instance.GetPage(page2);
PageReference page3 = CurrentPage["ThirdEvent"] as PageReference;
PageData Event2 = DataFactory.Instance.GetPage(page3);
The pagetype 'startsida' has three propertys of the type 'sida' (page?), Iam looking in admin mode. When an editor browse to a page in EpiServer and place in the controller some text is written to the startpage of our web site.
My goal is to have the same text written to another page. The editor in EpiServer works as usual with the startpage pagetype and the content is written to both the startpage and to the other page.