Changing the default page class for web projects

  • Thread starter Thread starter Richard Y
  • Start date Start date
R

Richard Y

I've written a custom class that inherits from System.Web.UI.Page, and
I'd like VS.NET 2003 to use it as the default class in my codebehind
pages. I didn't see any way to set this in the GUI. I did a text
search, and found references to System.Web.UI.Page in
EnterpriseFrameworks\Policy\DAP.TDL and
EnterpriseFrameworks\Policy\VSIDE.tdl under my VS.NET 2003 folder. Can
I just edit those references to refer to my custom classes? What are
those files for, in general?

Thanks,
Richard
 
Your post went unanswered. Have you resolved this issue?
 
Try this file:

C:\Program Files\Microsoft Visual Studio .NET
2003\Vb7\VBWizards\DesignerTemplates\1033\NewWebFormCode.vb
 
Thanks, that did the trick!

Eidolon said:
Try this file:

C:\Program Files\Microsoft Visual Studio .NET
2003\Vb7\VBWizards\DesignerTemplates\1033\NewWebFormCode.vb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top