ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Difference between HTML control and Web Server Control?
 Question Submitted By :: Shashikant
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between HTML control and Web Server Control?
Answer
# 1
HTML controls may not be browser independent but web
controls are always browser independent.
 
Is This Answer Correct ?    18 Yes 1 No
Blue Iguana
 
  Re: Difference between HTML control and Web Server Control?
Answer
# 2
HTML controls have not need to write runat="server" means 
it  not send request to server for any evant when in web 
server control every time send request to server.
 
Is This Answer Correct ?    1 Yes 0 No
Chandresh
 
 
 
  Re: Difference between HTML control and Web Server Control?
Answer
# 3
--Web server Control
 Web server controls are just like HTML controls... 
only different. Let me clarify that. 
Web controls are easily identified by the fact that they 
have a
 runat="server" attribute. They are also handled at the 
server by
 the ASP.NET runtime when a page containing them is 
requested. 
They can expose and raise server events which you can use 
to 
interact with them. They are identified by giving them an 
id 
attribute which you can then use to reference the control 
in 
your code. In all these ways, web controls are just like 
HTML
 controls.

--HTML Controls

The HTML controls might feel slightly quirky if you are
 used to forms based development with Microsoft tools. For
 instance, HTML controls have no direct properties 
available 
to set the colors or font used by the control when it 
renders.
 Another example is the Value property exposed by the 
HtmlInputText
 field. We generally expect a text box control to have a 
Text property
 for us to get or set the string to display. 

In this sense, HTML controls remain true to their roots and 
are 
not far removed from writing just HTML. If we want to set 
colors 
or font information – we can use the Attributes property. 
The Attributes property represents all the name / value 
pairs in 
the HTML element for the control. For example, a control 
might have
 an attribute “class” which will assign the cascading style 
sheet
 class. In the example above, we are assigning some inline 
style
 information to the style attribute of the control. On the 
client
 this attribute will render inline with the element.
 
Is This Answer Correct ?    2 Yes 0 No
Harshad Lakkad (bapunagar Part
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
can we transfer data from one page to another page using viewstate if so how?if not y? Wipro25
Types of caching. How to implement caching? Microsoft2
what is Disco?what it will do? Microsoft2
Is overloading possible in web services? Microsoft2
What is MSIL?  2
Should validation (did the user enter a real date) occur server-side or client-side? Why?  2
what is code access security,role based security explain with example Infosys1
what is the role of aspx file ? Netsweeper2
How to consume a webservice in a windows application without adding through the web reference? 247Customer1
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? Satyam3
What is web.config. How many web.config files can be allowed to use in an application ? Accenture8
How many rules are there regarding a well formed XML document? a) Nine b) Three c) Six d) Two Syntax-Softtech1
Difference Between ReadOnly and Constant Variable in compile time and Run Time. Phoenix-Technologies3
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?  2
what is uncle aunty file  1
To display data in a Repeater control which templete is provided ?  4
.Net Doesn't offer Deterministic Distruction ? a) True b) False CTS4
What are PDBs? Where must they be located for debugging to work?  2
What are runtime hosts? Microsoft3
Which institute provide good Project training on .Net technologies in hyd?  4
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com