@Page directive <%@ MasterType VirtualPath="~/MasterPage.master" %> The above syntax is used to make the Master property typed to the class that is stored in the referenced master on ASP page. 1.Yes 2.No
1.Yes
yes
no
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 |