Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a code file to the master page

Status
Not open for further replies.

oldwen

Programmer
Dec 2, 2003
23
US
Does anyone know how to add a code behind file to a Master Page that is already been created? Thanks for your help.
 
I am going to go far out here and say there should already be a code behind page for it. If you work with the page in Visual Studio you should be able to right click and select "View Code".

If that doesnt take you where you want to go then you need to add the codeBehind "parameter" to the Page directive

Code:
<%@ Page Language="vb" AutoEventWireup="false" [b]Codebehind="main.aspx.vb"[/b] Inherits="HowToBuildMasterDetailsWebApp.Main"%>

-The answer to your problem may not be the answer to your question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top