| Questions |
Show Answers |
Total Posts |
Post Your Answers |
Last Post |
Which of the following are correct controls in ASP.NET Source View?()
1.<asp:textbox runat="server" id="Msg" text="Hello, R4R" />
2.<asp:button runat="server" id="Send" text="Send" onclick="Send_Click" />
3. None
4. Both |
Show Answers | 44 |
Post Your Answers |
Jairaj Singh |
Which is used to add event code(on C# Code) for TextBox control in Source view ( ASP.NET)
1. MsgSent.Text = Msg.Text;
2. MsgSent.Text = Msg.Text
3. Both
4. None
|
Show Answers | 5 |
Post Your Answers |
Monu Sharma |
Which is used for code-in-line model?
1.< script runat="server">
2.< script javascript="server">
3.Both
4.None
|
Show Answers | 2 |
Post Your Answers |
Monu Sharma |
Which is code allows the modification of the head tag at runtime?
1 < head runat="server">
2.< script javascript="server">
3.Both
4.None
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Heena |
How you can change the page title by changing the using C#
1.void buttonSet_Click(Object sender, EventArgs earg)
{
Header.Title :Msg.Text;
}
2.void buttonSet_Click(Object sender, EventArgs earg)
{
Msg.Text= Header.Title;
}
3.void buttonSet_Click(Object sender, EventArgs earg)
{
Msg.Text: Header.Title;
}
4.None
|
Show Answers | 3 |
Post Your Answers |
19.06.10 azath |
Which is not used into @Page attributes
1. Async ,CodeFile
2. EnableTheming, MasterPageFile
3. MaintainScrollPositionOnPostback Theme
4. None
5. All
|
Show Answers | 2 |
Post Your Answers |
14.03.10 ravi |
Which is true to bind a method by setting the Master attribute in the <pages>?
1. < configuration>
< system.web>
< pages masterpagefile="r4r.co.in.MasterPage" />
</system.web>
</configuration>
2. < pages>
< system.web>
< pages masterpagefile="r4r.co.in.MasterPage" />
</system.web>
</ pages>
3.Both
4.None |
Show Answers | 1 |
Post Your Answers |
13.03.10 Hima |
@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
|
Show Answers | 3 |
Post Your Answers |
04.07.10 jagadeesh |
ASP.NET Supports “Nested Master Page”
1.Yes
2.No
|
Show Answers | 2 |
Post Your Answers |
bsundaramoorthy |
Which is true ?
1. Page Class is a derivative of the Control class.
2. Page Class inherits all properties, methods, and events exposed by the Control class.
3.Both
4. None
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Shuja |
Which of the following properties are not expose by Page Class?
1.Cache, IsPostBack
2 ErrorPage3,IsValid, Trace, and Validators
3.Both
4.None
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Vikas |
Choose all true options only
1. HtmlImage is HTMLControl for image and it used for html tag <img>
2. HtmlInputHidden Used for hidden just like form fields <input type="hidden">
3. HtmlInputImage is HTMLControl for Image and it used for html input tag <input type="image">
4.None |
Show Answers | 2 |
Post Your Answers |
manoj |
Correct syntax of ASP.NET directive:
1.<%@ directive [attribute=value] %>.
2.<% directive [attribute=value] %>.
3.<@ directive [attribute=value] %>.
4.<@ directive [attribute=value] >.
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Neha |
The namespaces that are automatically imported into all ASP.NET pages
1.System,System.Collections, System.IO
2.System.Web,System. Web.UI
3.System.Web.UI.HtmlControls,System. Web.UI.WebControls
A . 1
B. 1,2,3
C, 2,3
D. None
|
Show Answers | 4 |
Post Your Answers |
20.09.10 Ashwini.S.Acharya |
The ASP.NET pages directives are
1. @ Page,@ Control,@ Import,@ Register
2. @ Assembly, @ OutputCache
3. System.Web.UI.HtmlControls,System. Web.UI.WebControls
A . 1,2
B. 1,2,3
C, 2,3
D. None
|
Show Answers | 2 |
Post Your Answers |
25.09.10 amit |
Syntax for Code Declaration Blocks
1. < script runat="server" [language="language"]>
//code……………….
</script>
2. <asp runat="server" [language="language"]>
//code……………….
</asp>
3. 1 and 2
4. None
|
Show Answers | 2 |
Post Your Answers |
sushilkumar |
Syntax for Assembly directive specifies
1. < Assembly runat="server" [language="language"]>
//code……………….
</ Assembly >
2. <%@ Assembly Name="r4r" %>
3. 1 and 2
4. None
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Renu |
Syntax for Register directive specifies
1. < Register runat="server" [language="language"]>
//code……………….
</ Register >
2. <%@ Register Tagprefix="r4r" TagName="CustomControl Src="CustomControl.ascx" %>
3. 1 and 2
4. None
|
Show Answers | 1 |
Post Your Answers |
13.03.10 Vivak |
Syntax for Import directive specifies
1. <%@ Import Namespace="System.Data.OlDb" %>
2. <%@ Import Namespace="System.Data" %>
3. 1 and 2
4. None
|
Show Answers | 2 |
Post Your Answers |
12.02.11 Shiela |
Syntax for Custom-Control to insert a custom control into a page
1. <tagprefix:tagname id="controlID" runat="server" eventname="eventHandler" />
2. <%@ Import Namespace="System.Data" %>
3. 1 and 2
4. None
|
Show Answers | 3 |
Post Your Answers |
Ravindra M Kanje |
R4R,ASP.net Objective, ASP.net Subjective, ASP.net Interview Questions And Answers,ASP.net,ASP.net Interview,ASP.net Questions ,ASP.net Answers