ASP.NET Interview questions


Total available count: 47
Subject - Microsoft Technologies
Subsubject - ASP.NET

What is the difference between user control and custom control?

User control:

1. An user control can be created as .aspx page and can be used inside an aspx page or master page
2. Registration directive needs to be used to register a user control and after that it can be used as a server control
3. It can not be added in to server controls list
4. User control extension - .ascx
 

Custom control:

1. A custom control can not be create as aspx page. Unless user control it can not have body, form, html tags
2. It is an assembly and complied into a DDL file
3. It doesn't have any separate page extension
4. It will be derived into the website by using Add reference property and it can used as a server control



Next 5 interview question(s)

1
Explain about Master pages?
2
Explain about directives in ASP.NET?
3
Common properties in all validation controls?
4
Explain about different validation controls available in ASP.NET?
5
ASP.NET Event bubbling?