This questions refers to the Try Out called
"Creating a Skin for the Button Control"
(Page 234) and also the Tryout called "Creating a Named Skin for the Button Control" (Page 235).
This is the issue:
If I
DO NOT base SkinsDemo.aspx on the MyBasePage template created earlier, the page renders correctly as it is supposed to in the Web Browser. (purple button with white text and red button with black text).
If I base SkinsDemo.aspx on the MyBasePage template created earlier, the buttons show up in an ordinary way and on viewing the HTML source from the browser all I can see with respect to the Buttons that are supposed to be skinned is the following code:-
Code:
<input type="submit" name="ctl00$cpMainContent$Button1" value="Button" id="cpMainContent_Button1" />
<input type="submit" name="ctl00$cpMainContent$Button2" value="Button" id="cpMainContent_Button2" />
Please note that the instruction in the book asks to create the new Web Form (SkinsDemo.aspx) based on the "exported template created earlier".