Page 178 - DCAP312_WEB_TECHNOLOGIES_II
P. 178

Web Technologies-II



                   Notes         User Controls: User controls are one of ASP.NET methods to increase reusability of code,
                                 implement encapsulation and reduce maintenance.
                                                1. Create a custom user control in ASP.NET.
                                                2. Write an XML program to create a DTD for the college.

                                 8.8 Review Questions

                                    1.  Explain about page sub-classing with example.

                                    2.  What is the objective of user control? Explain with example.
                                    3.  How we can include a User Control in an ASP.NET Web Page?

                                    4.  How can create user control and add server control to the user control?
                                    5.  What are the limitation and advantage of user control?
                                    6.  What do you know about data bound control explain with example?
                                    7.  How can use the Data Binding Framework?

                                   8.  Write a program of data binding using dropdown list.
                                    9.  Write a program by using sub class.

                                   10.  How to create template of User Controls in ASP.NET?
                                 Answers for Self Assessment Questions
                                     1.  (c)    2.  (d)       3.  (a)     4.  (b)         5.  (b)
                                     6.  (a)    7.  (c)       8.  (c)     9.  (c)        10.  (b)

                                    11.  (a)   12.  (a)      13.  (b)    14.  (d)        15.  (a)

                                 8.9 Further Readings



                                                Professional ASP.NET by Jon Galloway, Phil Haack, and Brad Wilson

                                                Net: Asp the Complete Reference, by Matthew MacDonald


                                                www.telerik.com/products/aspnet-mvc.aspx
























        172                               LOVELY PROFESSIONAL UNIVERSITY
   173   174   175   176   177   178   179   180   181   182   183