or
<
telerik:RadComboBox
runat
=
"server"
ID
=
"lstBusiness"
OnSelectedIndexChanged
=
"lstBusiness_SelectedIndexChanged"
AutoPostBack
=
"True"
EnableViewState
=
"true"
MarkFirstMatch
=
"true"
/>
We have out first Telerik application ready for deployment on a server. We have .Net 4.0 and are developing in C#, using Telerik UI for ASP.NET AJAX
Do we need to install any software on the server? Could you point me to the appropriate documentation.
Regards,
Robin
01.
<
Fields
>
02.
<
telerik:PivotGridRowField
DataField
=
"SoortIndicatie"
UniqueName
=
"SoortIndicatieColumn"
Caption
=
"Soort Indicatie"
>
03.
</
telerik:PivotGridRowField
>
04.
<
telerik:PivotGridRowField
DataField
=
"SoortVerzilverd"
UniqueName
=
"SoortVerzilverdColumn"
Caption
=
"Soort Verzilverd"
>
05.
</
telerik:PivotGridRowField
>
06.
07.
<
telerik:PivotGridColumnField
DataField
=
"Jaar"
UniqueName
=
"JaarColumn"
Caption
=
"Jaar"
>
08.
</
telerik:PivotGridColumnField
>
09.
<
telerik:PivotGridColumnField
DataField
=
"Personen"
UniqueName
=
"PersonenColumn"
Caption
=
"Personen"
>
10.
</
telerik:PivotGridColumnField
>
11.
<
telerik:PivotGridColumnField
DataField
=
"Bedrag"
UniqueName
=
"BedragColumn"
Caption
=
"Bedrag"
>
12.
</
telerik:PivotGridColumnField
>
13.
</
Fields
>
<
html
>
<
head
>
<
title
>Grid Group & Page Test</
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
telerik:RadGrid
ID
=
"RgDamageCases"
runat
=
"server"
AllowAutomaticDeletes
=
"false"
AllowAutomaticInserts
=
"false"
AllowAutomaticUpdates
=
"false"
AllowFilteringByColumn
=
"true"
AllowMultiRowEdit
=
"false"
AllowPaging
=
"true"
AllowSorting
=
"false"
AutoGenerateColumns
=
"false"
GridLines
=
"Horizontal"
PageSize
=
"5"
OnNeedDataSource
=
"RgDamageCases_NeedDataSource"
>
<
MasterTableView
DataKeyNames
=
"Id"
CommandItemDisplay
=
"None"
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldAlias
=
"State"
FieldName
=
"State"
HeaderValueSeparator
=
": "
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"State"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"State"
DataField
=
"State"
HeaderText
=
"State"
AllowFiltering
=
"true"
AllowSorting
=
"true"
DataType
=
"System.String"
Visible
=
"true"
/>
<
telerik:GridBoundColumn
UniqueName
=
"Name"
DataField
=
"Name"
HeaderText
=
"Name"
AllowFiltering
=
"false"
AllowSorting
=
"true"
DataType
=
"System.String"
Visible
=
"true"
/>
</
Columns
>
<
PagerStyle
AlwaysVisible
=
"true"
Position
=
"TopAndBottom"
Mode
=
"NextPrevAndNumeric"
Visible
=
"true"
/>
</
MasterTableView
>
<
GroupingSettings
CaseSensitive
=
"false"
ShowUnGroupButton
=
"true"
/>
</
telerik:RadGrid
>
</
form
>
</
body
>
</
html
>
Imports
System.Collections.ObjectModel
Imports
Telerik.Web.UI
Partial
Class
GridTest01Page
Inherits
System.Web.UI.Page
Protected
Sub
RgDamageCases_NeedDataSource(
ByVal
source
As
Object
,
ByVal
e
As
GridNeedDataSourceEventArgs)
Dim
grid
As
RadGrid =
CType
(source, RadGrid)
Dim
items
As
New
Collection ( Of MyType )
items.Add (
New
MyType ( 1,
"001 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 2,
"002 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 3,
"003 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 4,
"004 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 5,
"005 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 6,
"006 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 7,
"007 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 8,
"008 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 9,
"009 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 10,
"010 Test"
,
"AZ"
) )
items.Add (
New
MyType ( 11,
"011 Test"
,
"AZ"
) )
grid.DataSource = items
End
Sub
Protected
Sub
Page_Load(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Me
.Load
' Nothing Here
End
Sub
End
Class
Public
Class
MyType
Private
_Id
As
Integer
Private
_Name
As
String
Private
_State
As
String
Public
Property
Id
As
Integer
Get
Return
_Id
End
Get
Set
(value
As
Integer
)
_Id = value
End
Set
End
Property
Public
Property
Name
As
String
Get
Return
_Name
End
Get
Set
(value
As
String
)
_Name = value
End
Set
End
Property
Public
Property
State
As
String
Get
Return
_State
End
Get
Set
(value
As
String
)
_State = value
End
Set
End
Property
Public
Sub
New
(
ByVal
id
As
Integer
,
ByVal
name
As
String
,
ByVal
state
As
String
)
Me
.Id = id
Me
.Name = name
Me
.State = state
End
Sub
End
Class