Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

Tim Strathman
Tim Strathman
53 Points

How can I get a aspx page to show up in my menu bar at the top of my website?

I have created a controller for my web form page and it puts sales.aspx under the Controllers folder. However I can't seem to make a "Views" page so I can add it to my html.actionlink like the other pages. I'm sure it's simple but I can't seem to figure out how to get my forms to show in the menu and come up when the menu item is clicked.

1 Answer

James Churchill
STAFF
James Churchill
Treehouse Teacher

Tim,

Can you please clarify for me what you're trying to achieve? Are you trying to mix ASP.NET Web Forms pages (.aspx files) with ASP.NET MVC controllers and views? Or are you using the ASPX view engine instead of the Razor view engine?

Thanks ~James