or
<
telerik:RadRotator
ID
=
"rotator1"
runat
=
"server"
BorderWidth
=
"0"
RotatorType
=
"CoverFlowButtons"
Width
=
"100%"
ItemWidth
=
"64"
Height
=
"80px"
ItemHeight
=
"64"
ScrollDuration
=
"500"
FrameDuration
=
"2000"
EnableRandomOrder
=
"true"
PauseOnMouseOver
=
"false"
Skin
=
"Windows7"
ScrollDirection
=
"Left, Right"
OnClientItemShown
=
"OnClientItemShown"
CssClass
=
"RemoveRotatorBorder"
>
<
ItemTemplate
>
<
asp:Image
ID
=
"Image1"
runat
=
"server"
ImageUrl='<%# Eval("Url") %>' AlternateText='<%# Eval("Name") %>' />
</
ItemTemplate
>
</
telerik:RadRotator
>
Telerik.Web.UI.RadRotatorAnimation.set_scrollAnimationOptions(
"<%= rotator1.ClientID %>"
,
{
xR: 5,
// The offset in pixels between the selected items and the first item on the left and on the right of the selected item.
xItemSpacing: 20,
matrix: { m11: 1, m12: 0, m21: -0.1, m22: 1 },
// The 2d transformation matrix, applied to the items that appear on the right of the selected item
reflectionHeight: 0.5,
// The height of the reflection
reflectionOpacity: 1
// The opacity, applied to the reflection
}
);
var
radAjaxMgr = $find(
'<%= PageRadAjaxManager.clientID %>'
);
radAjaxMgr.ajaxRequestWithTarget(
'<%= NotesGrid.clientID %>'
,
''
);
$find(
'<%= PageRadAjaxManager.clientID %>'
).ajaxRequest(
'Note'
);
Dim
manager
As
RadAjaxManager = RadAjaxManager.GetCurrent(Page)
AddHandler
manager.AjaxRequest,
AddressOf
PalNoteTaskListAjaxManager_AjaxRequest
PageRadAjaxManager.AjaxSettings.AddAjaxSetting(manager, TaskGrid, lpWait)
Protected
Sub
PalNoteTaskListAjaxManager_AjaxRequest(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.AjaxRequestEventArgs)
Select
Case
e.Argument
Case
"Task"
PopulateTaskGrid(
False
)
Case
"CompTask"
PopulateCompletedTaskGrid(
False
)
Case
"Note"
FillNoteGrid(
False
)
End
Select
End
Sub
<
telerik:RadAjaxLoadingPanel
id
=
"lpWait"
InitialDelayTime
=
"0"
runat
=
"server"
Transparency
=
"10"
Height
=
"100%"
Width
=
"100%"
>
<
table
Height
=
"200px"
Width
=
"100%"
>
<
tr
valign
=
"middle"
>
<
td
align
=
"center"
>
<
img
src
=
"/SI/Images/status_anim.gif"
title
=
"Wait"
/>
</
td
>
</
tr
>
</
table
>
</
telerik:RadAjaxLoadingPanel
>
else if (e.CommandName == RadGrid.UpdateCommandName)
{
MySqlConnection conn = new MySqlConnection();
conn.ConnectionString = GetConnectionString();
MySqlCommand cmd = new MySqlCommand();
try
{
GridEditableItem editedItem = e.Item as GridEditableItem;
string ID = editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["ID"].ToString();
RadNumericTextBox newTimeScaleTextBox = (RadNumericTextBox)e.Item.FindControl("RadNumericBox_TimeScale");
string editedTimeScale = newTimeScaleTextBox.Text;
RadTextBox newGameNameTextBox = (RadTextBox)e.Item.FindControl("RadTextBox_Name");
string editedName = newGameNameTextBox.Text;
RadComboBox newManagerCombo = (RadComboBox)e.Item.FindControl("RadComboBox_Manager");
string editedManagerID = newManagerCombo.SelectedValue;
RadComboBox newRecalibrationDateCombo = (RadComboBox)e.Item.FindControl("RadComboBox_StartPeriod");
string editedRecalibrationDate = newRecalibrationDateCombo.SelectedValue;
conn.Open();
cmd.Connection = conn;
cmd.CommandText = "MyUpdateSQL"
cmd.CommandType = CommandType.Text;
cmd.ExecuteNonQuery();
}
catch (MySql.Data.MySqlClient.MySqlException ex)
{
// IMPLEMENT
}
conn.Close();
}
RadNumericTextBox newTimeScaleTextBox = (RadNumericTextBox)e.Item.FindControl("RadNumericBox_TimeScale");
<
EditItemTemplate
>
<
div
style
=
"margin:10px;"
>
<
table
>
<
tr
style
=
"height: 50px;"
>
<
td
style
=
"width: 150px; border: none;"
><
span
style
=
"font-weight: bold;"
>Name:</
span
></
td
>
<
td
style
=
"border:none;"
>
<
telerik:RadTextBox
ID
=
"RadTextBox_Name"
EmptyMessage
=
"e.g. Accounts Department / Q4 2010"
Width
=
"500"
Skin
=
"Office2007"
Text='<%# Bind("Name")%>' runat="server" />
</
td
>
</
tr
>
<
tr
style
=
"height: 50px;"
>
<
td
style
=
"border:none;"
><
span
style
=
"font-weight: bold;"
>Start Period:</
span
></
td
>
<
td
style
=
"border:none;"
>
<
telerik:RadComboBox
Width
=
"150"
runat
=
"server"
AllowCustomText
=
"true"
DataValueField='<%# Bind("RecalibrationDate") %>' Text='<%# String.Format("{0:MMMM}", Eval("RecalibrationDate")) %>' Skin="Office2007" ID="RadComboBox_StartPeriod" >
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"January"
Value
=
"2010-01-01"
/>
<
telerik:RadComboBoxItem
Text
=
"February"
Value
=
"2010-02-01"
/>
<
telerik:RadComboBoxItem
Text
=
"March"
Value
=
"2010-03-01"
/>
<
telerik:RadComboBoxItem
Text
=
"April"
Value
=
"2010-04-01"
/>
<
telerik:RadComboBoxItem
Text
=
"May"
Value
=
"2010-05-01"
/>
<
telerik:RadComboBoxItem
Text
=
"June"
Value
=
"2010-06-01"
/>
<
telerik:RadComboBoxItem
Text
=
"July"
Value
=
"2010-07-01"
/>
<
telerik:RadComboBoxItem
Text
=
"August"
Value
=
"2010-08-01"
/>
<
telerik:RadComboBoxItem
Text
=
"September"
Value
=
"2010-09-01"
/>
<
telerik:RadComboBoxItem
Text
=
"October"
Value
=
"2010-10-01"
/>
<
telerik:RadComboBoxItem
Text
=
"November"
Value
=
"2010-11-01"
/>
<
telerik:RadComboBoxItem
Text
=
"December"
Value
=
"2010-12-01"
/>
</
Items
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
style
=
"height: 50px;"
>
<
td
style
=
"border:none;"
><
span
style
=
"font-weight: bold;"
>TimeScale:</
span
></
td
>
<
td
style
=
"border:none;"
>
<
telerik:RadNumericTextBox
Label
=
"1:"
ID
=
"RadNumericBox_TimeScale"
Skin
=
"Office2007"
Text='<%# Bind("TimeScale")%>' MinValue="1" MaxValue="500" NumberFormat-DecimalDigits="0" ShowSpinButtons="true" runat="server" />
</
td
>
</
tr
>
<
tr
style
=
"height: 50px;"
>
<
td
style
=
"border:none;"
><
span
style
=
"font-weight: bold;"
>Manager:</
span
></
td
>
<
td
style
=
"border:none;"
>
<
telerik:RadComboBox
Filter
=
"Contains"
AllowCustomText
=
"true"
EmptyMessage
=
"Search for a Name and/or Reference"
EnableVirtualScrolling
=
"true"
EnableTextSelection
=
"false"
ShowMoreResultsBox
=
"true"
ItemsPerRequest
=
"20"
EnableAutomaticLoadOnDemand
=
"true"
Skin
=
"Office2007"
Width
=
"300"
ID
=
"RadComboBox_Manager"
DataSourceID
=
"SqlDataSource_ManagersList"
runat
=
"server"
DataTextField
=
"DisplayManager"
DataValueField
=
"ManagerID"
>
<
Items
>
</
Items
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
style
=
"height: 50px;"
>
<
td
style
=
"border:none;"
></
td
>
<
td
style
=
"border:none;"
>
<
asp:Button
ID
=
"Button_InsertUpdate"
Text='<%# RadGrid.MasterTableView.IsItemInserted ? "Add" : "Update" %>'
runat="server" CommandName='<%# RadGrid.MasterTableView.IsItemInserted ? "PerformInsert" : "Update" %>' />
<
asp:Button
ID
=
"Button_DiscardCancel"
Text='<%# RadGrid_GameSetup_Basics.MasterTableView.IsItemInserted ? "Discard" : "Cancel" %>'
runat="server" CommandName='<%# RadGrid_GameSetup_Basics.MasterTableView.IsItemInserted ? "Discard" : "Cancel" %>' />
</
td
>
</
tr
>
</
table
>
</
div
>
</
EditItemTemplate
>
Line: 220
Error: Object doesn't support this property or method
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
UpdatePanelsRenderMode
=
"Inline"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"radGrid"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"radGrid"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>