what r the Templeats in ASP.net?

Answers were Sorted based on User's Feedback



what r the Templeats in ASP.net?..

Answer / srini

In repeater control there have a 7 Templates
1.header temp
2.item temp
3.alternative temp
4.seperater temp
5.footer temp
6.Selected item Template
7.Edit item Template

Is This Answer Correct ?    4 Yes 0 No

what r the Templeats in ASP.net?..

Answer / bhuvana

The Repeater ,DataList, ASP.NET server controls and ASP.NET
mobile controls are templated controls. The DataGrid
control is not strictly a templated control, but uses
templates to customize its user interface.

Is This Answer Correct ?    1 Yes 0 No

what r the Templeats in ASP.net?..

Answer / smriti

The repeater,Datalist,Datagrid are templated controls in
asp.net

Generally speaking, a template is the description of how a
certain element will be rendered at runtime. In ASP.NET, a
template is property of a server control that describes the
static HTML, controls, and script to render within one
region of the control. For example, a Repeater control has
a HeaderTemplate property that defines the contents of its
header region. You normally define a template within the
body of an ASP.NET page using declarative syntax. For
example, the following code shows how to specify a template
to draw the header and each row of a Repeater control.
<asp:repeater runat="server">
<HeaderTemplate>
<h2>Employees</h2>
<table border="0">
</HeaderTemplate>

<ItemTemplate>
<tr>...</tr>
</ItemTemplate>
</asp:repeater>
When it comes to rendering the contents of the Repeater
control, the ASP.NET runtime uses the content defined in
the templates and processes it?often together with bound
data?to create an HTML representation of the region. All
the server-side controls within the template individually
render themselves as HTML.
The Microsoft? .NET Framework utilizes the ITemplate
interface at runtime to process the templates into a
control hierarchy that can be databound and rendered to
populate a part of an ASP.NET control. As long as you
define templates in a declarative manner?using inline tags
in ASPX pages?you don't strictly need to know about the
ITemplate interface. That will become important only when
you move one step further and start investigating how to
create and assign templates programmatically and
dynamically. But before we look at that, let's review the
use of templates with a DataGrid control.

Is This Answer Correct ?    1 Yes 0 No

what r the Templeats in ASP.net?..

Answer / shibin jayadev

ASP.NET WEBSITE TEMPLATE,ASP.NET WEB SERVICE,AJAX,PERSONAL
WEB STARTER,ETC

Is This Answer Correct ?    1 Yes 1 No

what r the Templeats in ASP.net?..

Answer / zedsonprabhakar

In repeater control there have a 5 Temjpleats
1.header temp
2.item temp
3.alternative temp
4.seperater temp
5.footer temp


if this is wrong post the answer

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

what is use to destroy an object? illustrate.

2 Answers   Patni,


what is the difference between sql 2000 and 2005?

2 Answers   Cognizant,


How many types of session state management options available in asp.net?

0 Answers  


what is Disco?what it will do?

2 Answers   Microsoft,


Why do we use sessions?

0 Answers  






What are the data types is possible to store in session? and can we store dataset in session?

4 Answers   eMids,


What three Session State providers are available in ASP.NET 1.1? What are the pros and cons of each ?

1 Answers  


What is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser.

8 Answers   HCL, IBM, Syntax Softtech, Vypin, WideVision Technologies,


What are standard controls?

0 Answers  


What is the difference between a Stored procedure and function?

9 Answers  


Exception handling

2 Answers   Syntel,


How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  


Categories