What are the differences between a user control and a Web page?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What are the differences between a user control and a Web page?
Rating:
The following are the differences between a
| Its file name extension is .ascx. | Its file name extension is .aspx. |
| It contains an @ Control directive. | It contains an @ Page directive. |
| It cannot run as a stand-alone file, as it has to be added to a Web page. | It can run as a stand-alone file. |
| It does not contain <html>, <body>, or <form> HTML elements. | It contains <html>, <body>, or <form> HTML elements. |
Rating:
Was this information helpful?
Other articles
- What are the tasks performed by the WebPartManager control?
- What is declarative security check?
- What is Integrated Windows authentication?
- What is a local HTTP-based Web site?
- What is the User Interface (UI)?
