<
telerik:RadComboBox
ID
=
"ddAVPFilter"
runat
=
"server"
EmptyMessage
=
"Choose AVP Area"
AutoPostBack
=
"true"
Skin
=
"Sunset"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"WNEN"
Value
=
"WNEN"
></
telerik:RadComboBoxItem
>
<
telerik:RadComboBoxItem
Text
=
"WNES"
Value
=
"WNES"
></
telerik:RadComboBoxItem
>
<
telerik:RadComboBoxItem
Text
=
"GBRN"
Value
=
"GBRN"
></
telerik:RadComboBoxItem
>
<
telerik:RadComboBoxItem
Text
=
"GBRS"
Value
=
"GBRS"
></
telerik:RadComboBoxItem
>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadComboBox
ID
=
"ddMgrFilter"
runat
=
"server"
EmptyMessage
=
"Choose the Manager"
AutoPostBack
=
"true"
ShowMoreResultsBox
=
"True"
ItemRequestTimeout
=
"500"
EnableVirtualScrolling
=
"true"
MarkFirstMatch
=
"False"
EnableLoadOnDemand
=
"True"
AllowCustomText
=
"False"
IsCaseSensitive
=
"False"
Skin
=
"Sunset"
/>
<
span
><
H1
>Server Error in '/' Application.<
hr
width
=
100
%
size
=
1
color
=
silver
></
H1
>
<
h2
> <
i
>No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App_Data/RadSpell/</
i
> </
h2
></
span
>
<
font
face
=
"Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "
>
<
b
> Description: </
b
>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
<
b
> Exception Details: </
b
>System.ArgumentException: No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App_Data/RadSpell/<
br
><
br
>
<
b
>Source Error:</
b
>
<
table
width
=
100
%
bgcolor
=
"#ffffcc"
>
<
tr
><
td
>
<
SpellCheckSettings
DictionaryLanguage
=
"en-GB"
DictionaryPath
=
"~/App_Data/RadSpell/"
/>
<
Languages
>
<
telerik:SpellCheckerLanguage
Code
=
"en-GB"
Title
=
"English"
/>
</
Languages
>
txtDescription.Languages.Add(new Telerik.Web.UI.SpellCheckerLanguage("en-GB", "English"));
Unable to cast object of type 'System.Data.DataTable' to type 'System.Data.DataSet'.
Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
If e.CommandName = "select" Then
Session("sessiondataset") = CType(Session("sessiondataset"), DataSet).Tables("CTETable").Select("Customer ='" + DirectCast(e.CommandSource, LinkButton).Text + "'")
RadGrid1.Rebind()
end if
End Sub
Protected Sub RadGrid1_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
RadGrid1.DataSource = Session("sessiondataset")
End Sub
<
PlotArea>
<Appearance Dimensions-Width="300">
<FillStyle FillType="Solid" MainColor="White"></FillStyle>
<Border Color="130, 130, 130" />
</Appearance>
</PlotArea>
How do I resolve this
Thanks
protected void WorkOrderGrid_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
GridDataItem item = e.Item as GridDataItem;
WorkOrderDetailItem view = item.DataItem as WorkOrderDetailItem;
List<
CustomField
> CustFlds = CustFields();
for (int j = 0; j < CustFlds.Count; j++)
{
item.Cells[FirstCustomFieldCell + j].Text = (string.IsNullOrEmpty(view.CustomFieldValues[j]) ? " " : view.CustomFieldValues[j]);
}
}
}
protected void AddCustomFieldColumnsToGrid(List<
CustomField
> customFields)
{
foreach (CustomField custFld in customFields)
{
if (custFld.CustomFieldType == "money")
{
GridNumericColumn col = new GridNumericColumn();
_reportGrid.Columns.Add(col);
col.DataType = typeof(Decimal);
col.DataFormatString = "$ {0:N}";
col.Aggregate = GridAggregateFunction.Sum;
col.UniqueName = "cf" + custFld.Id.ToString();
col.HeaderText = custFld.Name;
col.Display = false;
}
else