Using include file

  • Thread starter Thread starter Guest
  • Start date Start date
You'll want to make a user control. For example I made a side menu named
menu.ascx (notice the extension for user control instead of aspx) and then
register (include) it on the page you want to use it one - <%@ Register
TagPrefix="uc1" TagName="Menu" Src="../Menu.ascx" %>

Hope this helps.
 

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