Home page
sure you can do it anyway ...
you should see videos of MAster Pages, you will see how to do it and much more!
Video # 12 MasterPages 16 minutes, 2 seconds
Video number 36 How do I: work with main pages declaratively and programmatically 29 minutes, 49 seconds
Video # 37 How Do I: Handle Events on the Main and Content Page 23 minutes, 26 seconds
a source to share
I would use a property on the master page to change the button, I think you can make it public, but meh.
public String ButtonText { get { return button1.text; } set { button1.Text = value } }
Then, on the default page, set the wizard type.
<%@ MasterType VirtualPath="~/mymaster.master" %>
Then on the default page you will be able to access it by going through the property.
Master.ButtonText = "Hello, Master Page Button";
[Sorry assuming C #]
a source to share
If you put MasterType directive in your default page
<%@ MasterType VirtualPath="~/Master1.master" %>
then you can call methods and properties on the master page in code:
MyButton.Text = "New text";
For more information see ASP.Net 2.0 - Main Pages: Tips, Tricks, and Pitfalls
a source to share