Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5 > BOOK: Beginning ASP.NET 4.5 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-31180-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 31st, 2018, 10:57 PM
Authorized User
 
Join Date: Mar 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default Exported Reusable Page Templates not showing up

I'm working through this book and am having a problem with the Reusable Templates. (TIO on page 225)

Last weekend I did this Try it out and was able to create a template, save it, and then open new pages with it as the base. I used your example of "MyBasePage" as the template name.

Tonight, for some reason, I wanted to make a change, and so I went through the steps again. My only change (as far as i know) was to add a couple of comment lines. When I saved my newer template, I saved it as "MyNewBasePage".

The NEW page doesn't show up when I do an Add>Add New Item. The old template was there, not the new one. (I tried looking at the list in alphabetical and default order).

Both (old and new template) .ZIP files are in the places they should be.

I've quit VS and restarted. I even went and powered the computer off to see if that helped.

I was all ready to do more exciting stuff tonight after work, but I've spent the past 90 minutes just on this. Any suggestions?

Thanks!
 
Old February 2nd, 2018, 09:47 PM
Authorized User
 
Join Date: Mar 2010
Posts: 14
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I shut everything down the other day after I typed this, had dinner and a cold lagerthen came back to it and I was able to create a new Template.

I think what I may have been doing wrong was that somehow the language got switched to C# even though I always use VB.

Anyway, I'm back and working.
 
Old February 4th, 2018, 03:22 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> had dinner and a cold lagerthen came back

That usually does the trick for me too ;-)

Glad you got it to work.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
JohnInPomeroy (February 4th, 2018)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusable Page Template Chapter 6 supdike BOOK: Beginning ASP.NET 4 : in C# and VB 1 May 16th, 2012 05:56 PM
Page 241 Chapter7 No Page button is showing on browser. tota1ecl1pse BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 September 18th, 2009 01:03 PM
Creating Reusable Page Templates workidoo BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 June 25th, 2008 04:58 PM
page margins not set in the exported pdf files boat Crystal Reports 0 April 21st, 2004 04:36 AM
Empty page problem when exported to PDF or Ms Word tasbasi Crystal Reports 0 November 12th, 2003 04:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.