Choose correct for Custom Server Controls 1. Two ways of creating custom server controls. 2. The pagelet approach, which is easy to do but rather limited in functionality 3. Control base class (or UserControl) derivative approach A. 1,2,3 B. 1,2 C. 3 D. 1,3 E. None
A. 1,2,3
| More interview questions and answers |
|---|
Which of the following are correct controls in ASP.NET Source View?()
1. |
4. Both |
1. MsgSent.Text = Msg.Text; |
1.< script runat="server"> |
1 < head runat="server"> |
1.void buttonSet_Click(Object sender, EventArgs earg)
{
Header.Title :Msg.Text;
} |
4. None |
1. < configuration> < system.web> < pages masterpagefile="r4r.co.in.MasterPage" /> |
1.Yes |
1.Yes |
3.Both |
3.Both |
1,2,3 |
1.<%@ directive [attribute=value] %> |
B. 1,2,3 |
A . 1,2 |
1. < script runat="server" [language="language"]> //code………………. |
2. <%@ Assembly Name="r4r" %> |
2. <%@ Register Tagprefix="r4r" TagName="CustomControl Src="CustomControl.ascx" %> |
3. 1 and 2 |
1. |
3. 1 and 2 |
A. 1,2,3 |
Syntax for Pagelets 1. 2. <%@ include Namespace="System.Data" %> 3. 1 and 2 4. None |
1. |
A 1,2,3,4,5 |
E,1,2,3,4,5,6,7 |
B 1,2,3,4,6 |
1. |
1,2,3 |
A.1,2,3 |