or
<
EditFormSettings
CaptionFormatString
=
"Edit Plan: {0}"
CaptionDataField
=
"assessment_plan_reference"
<br> EditFormType="Template"><
br
> <
EditColumn
UniqueName
=
"EditCommandColumn1"
><
br
> </
EditColumn
><
br
> <
FormTemplate
><
br
> <
table
id
=
"Table1"
cellspacing
=
"1"
cellpadding
=
"10"
width
=
"550px"
border
=
"1"
style="border-collapse: collapse;<br> border-width: 2px; background: white;"><
br
> <
tr
><
br
> <
td
><
br
> </
td
><
br
> </
tr
><
br
> <
tr
><
br
> <
td
><
br
> Week<
br
> <
asp:Label
ID
=
"lblWeekno"
runat
=
"server"
Text='<%#Bind("week_number")%>' /><
br
> </
td
><
br
> </
tr
><
br
> <
tr
><
br
> <
td
><
br
> Content<
br
> <
br
/><
br
> <
telerik:RadEditor
ID
=
"RadEditor1"
runat
=
"server"
Content='<%# Bind("content") %>'<
br
> ToolsFile="WebBlue/ToolsFile.xml" Height="300px" Width="500px" Skin="WebBlue" /><
br
> <
br
/><
br
> <
br
> </
td
><
br
> </
tr
><
br
> <
tr
><
br
> <
td
><
br
> Activity<
br
> <
br
/><
br
> <
telerik:RadEditor
ID
=
"RadEditor2"
runat
=
"server"
Content='<%# Bind("activity") %>'<
br
> ToolsFile="WebBlue/ToolsFile.xml" Height="300px" Width="500px" Skin="WebBlue"><
br
> <
br
> </
telerik:RadEditor
><
br
> </
td
><
br
> </
tr
><
br
> <
tr
><
br
> <
tr
><
br
> <
td
align
=
"right"
colspan
=
"2"
><
br
> <
asp:Button
ID
=
"btnUpdate"
Text
=
'Update'
runat
=
"server"
CommandName
=
'Update'
></
asp:Button
> <
br
> <
asp:Button
ID
=
"btnCancel"
Text
=
"Cancel"
runat
=
"server"
CausesValidation
=
"False"
<br> CommandName="Cancel"></
asp:Button
><
br
> </
td
><
br
> </
tr
><
br
> </
table
><
br
> </
FormTemplate
><
br
> </
EditFormSettings
><
br
>
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.get_Item(Int32 index) +10067188
Telerik.Web.UI.GridColumnCollection.System.Web.UI.IStateManager.SaveViewState() +208
Telerik.Web.UI.GridTableView.GetStructureState() +114
Telerik.Web.UI.RadGrid.SaveTableViewStructure(ArrayList stateList, GridTableView tableView) +47
Telerik.Web.UI.RadGrid.SaveViewState() +74
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +80
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +404
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3770
<
telerik:RadButton
ID
=
"bSearch"
runat
=
"server"
Text
=
"Search"
OnClick
=
"bSearch_Click"
Width
=
"90px"
>
<
Icon
SecondaryIconCssClass
=
"rbSearch"
SecondaryIconRight
=
"4"
SecondaryIconTop
=
"4"
/>
</
telerik:RadButton
>
Q1 2014 (Version number: 2014.1.225)
Control is throwing a JavaScript error on IE7: “Could not get the fontWeight property. Invalid argument”.
Solution:<script type=
"text/javascript"
>
Telerik.Web.UI.RadAutoCompleteBox.DropDown.prototype._createTextSizingDiv =
function
(sourceElement) {
var
textSizingDiv = document.createElement(
"div"
),
fontStyles = [
"font-size"
,
"font-family"
,
"font-weight"
,
"font-variant"
,
"font-style"
,
"text-transform"
],
fontStylesProperties = [
"fontSize"
,
"fontFamily"
,
"fontWeight"
,
"fontVariant"
,
"fontStyle"
,
"textTransform"
];
textSizingDiv.style.position =
'absolute'
;
textSizingDiv.style.display =
'block'
;
textSizingDiv.style.visibility =
'hidden'
;
// In IE 7/8 getComputedStyle takes styles in format "fontSize", while in other browsers
// it must be "font-size". After fixing the getComputedStyles implementation to resolve
// the format, remove this workaround
if
($telerik.getComputedStyle(sourceElement, fontStyles[0],
null
) ===
null
) {
fontStyles = fontStylesProperties;
}
for
(
var
i = 0, length = fontStyles.length; i < length; i++) {
textSizingDiv.style[fontStylesProperties[i]] = $telerik.getComputedStyle(sourceElement, fontStyles[i],
null
);
}
return
textSizingDiv;
}
</script>
<style type=
"text/css"
>
html .RadAutoCompleteBox .racTokenList {
display
:
block
;
}
</style>
<
button
style
=
"width: 150px; margin-bottom: 0px;"
onclick
=
"openRadWin(); return false;"
>Exchange rate calculator</
button
>
<
telerik:RadButton
ID
=
"Button11"
runat
=
"server"
Text
=
""
CssClass
=
"cNexchange"
HoveredCssClass
=
"cHexchange"
PressedCssClass
=
"cCexchange"
OnClientClicked
=
"openRadWin(); return false;"
>
<
Image
EnableImageButton
=
"true"
/>
</
telerik:RadButton
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function openRadWin() {
var width = "430px";
var height = "355px";
var left = "800px";
var top = "150px";
radopen("currencies.aspx", "RadWindow1", width, height, left, top);
}
//]]>
</
script
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
title
>Client Note</
title
>
<
meta
http-equiv
=
"x-ua-compatible"
content
=
"IE=edge"
/>
<
link
href
=
"styles.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
</
head
>
<
telerik:RadEditor
ID
=
"RadEditorEdit"
ToolsFile
=
"EditorTools.xml"
ToolTip
=
"Maximum 3000 characters allowed."
EditModes
=
"All"
runat
=
"server"
ToolbarMode
=
"ShowOnFocus"
Content='<%# Bind("Notes_Comment") %>'>
<
ExportSettings
OpenInNewWindow
=
"true"
>
</
ExportSettings
>
<
Tools
>
<
telerik:EditorToolGroup
Tag
=
"Bottom"
>
<
telerik:EditorTool
Name
=
"AbsolutePosition"
ShowIcon
=
"true"
/>
<
telerik:EditorTool
Name
=
"TrackChangesDialog"
Enabled
=
"true"
ShowIcon
=
"true"
/>
</
telerik:EditorToolGroup
>
</
Tools
>
<
Modules
>
<
telerik:EditorModule
Name
=
"RadEditorDomInspector"
Enabled
=
"true"
Visible
=
"true"
/>
<
telerik:EditorModule
Name
=
"RadEditorStatistics"
Enabled
=
"true"
Visible
=
"true"
/>
</
Modules
>
</
telerik:RadEditor
>