From the course: Learning ASP.NET

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Explore server controls and events

Explore server controls and events

From the course: Learning ASP.NET

Start my 1-month free trial

Explore server controls and events

- [Narrator] Let's dive deeper into the important features of ASP.net Web-Forms. One quick thing I'd like to do is add the error list because that'll help us keep track of issues as we're coding You'll find that under the View menu. Now we can add a new page to the Web-Forms application. It'll give users the ability to subscribe to a newsletter. Right-click on the project then choose Add and you'll see a Web-Form option. You can also select New Item for a more comprehensive list under visual C Sharp in Web. Not only can you add a Web-Form, but you can add it and associate it with a Master Page. Go ahead and select Web-Form and name it Newsletter Signup and then click Add. Here at the top is a page directive represented by the at symbol followed by Page. It has attributes specific to a page that are used by the ASP.net compiler. The syntax for a directive block is to enclose it in angle brackets and percent signs just like you see here. The code behind attribute has the name of the…

Contents