[ Pobierz całość w formacie PDF ] .aspx.3.Fill the Email field with your e-mail address and click Sign In Now.You should see your e-mail address at the bottom of the page. Module 1: Working with Microsoft ASP.NET 41Exercise 2Creating Page Event ProceduresIn this exercise, you will add page event procedures to the page.To add a Page Load event procedure1.In the script section, add a Page_Load event procedure that displays thevalue of Page.IsPostBack.Concatenate the value of the IsPostBack property with the current text inthe spnInfo element.Your event procedure should look like the following:Sub Page_Load(s As Object, e As EventArgs)spnInfo.innerHTML = spnInfo.innerHTML & _"One more Page_Load event!" & _"Page.IsPostBack=" & _Page.IsPostBack.ToString() & _""End Sub2.Save your changes.3.Using Internet Explorer, go to the logon page of the ASPNET Web site byviewing http://localhost/ASPNET/login.aspx.Notice the message on the page.4.Click Sign In Now.Notice the postback message.42 Module 1: Working with Microsoft ASP.NETReviewIntroducing ASP.NETCreating Web FormsAdding ASP.NET Code to a PageHandling Page EventsDiscussion: ASP vs.ASP.NET*****************************illegal for non-trainer use******************************1.List some of the differences between ASP and ASP.NET.2.What are the main features of ASP.NET?3.What attribute is used to denote server controls?4.How is the view state of controls maintained? Module 1: Working with Microsoft ASP.NET 435.How do you create an event procedure for the click event of an HTMLbutton control?6.What is the order of events that occur when a page is displayed?THIS PAGE INTENTIONALLY LEFT BLANK
[ Pobierz całość w formacie PDF ]
zanotowane.pldoc.pisz.plpdf.pisz.plhanula1950.keep.pl
|
|
|