<
add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
validate="false" />
was already in there. They're both in now and I'm still getting the error. Any ideas? The error comes up when I try to click on the spellcheck button.
Spell Check Handler Server Error:500
<html>
<head>
<title>Configuration Error</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/AgPlanDev' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Configuration Error</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
<br><br>
<b> Parser Error Message: </b>Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
Line 57: validate="false" />
Line 58: <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
<font color=red>Line 59: <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
</font>Line 60: validate="false" />
Line 61: <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.2.1001.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"</pre></code>
</td>
</tr>
</table>
<br>
<b> Source File: </b> C:\websites\CFFM\BizPlan\working folder\AgPlanDev\web.config<b> Line: </b> 59
<br><br>
<b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2008.1.515.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.<br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
| $find("<%= UserContactsGrid.ClientID %>") |
| function exportGrid() { |
| $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("ExportGrid"); |
| } |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="rgAcctTrans" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e) |
| { |
| if (e.Argument == "ExportGrid") |
| { |
| try |
| { |
| string dateExtension = string.Empty; |
| string to = string.Empty; |
| string from = string.Empty; |
| if ((dpFrom.SelectedDate.HasValue) || (dpTo.SelectedDate.HasValue)) |
| { |
| if (dpTo.SelectedDate.HasValue) |
| to = dpTo.SelectedDate.Value.ToString("dd.MM.yyyy"); |
| if (dpFrom.SelectedDate.HasValue) |
| from = dpFrom.SelectedDate.Value.ToString("dd.MM.yyyy"); |
| dateExtension += "." + from + "-" + to; |
| } |
| if ((dpBilledFrom.SelectedDate.HasValue) || (dpBilledTo.SelectedDate.HasValue)) |
| { |
| if (dpBilledFrom.SelectedDate.HasValue) |
| from = dpBilledFrom.SelectedDate.Value.ToString("dd.MM.yyyy"); |
| if (dpBilledTo.SelectedDate.HasValue) |
| to = dpBilledTo.SelectedDate.Value.ToString("dd.MM.yyyy"); |
| dateExtension += ".Billed-" + from + "-" + to; |
| } |
| rgAcctTrans.ExportSettings.ExportOnlyData = false; |
| rgAcctTrans.ExportSettings.FileName = "Transactions" + dateExtension; |
| rgAcctTrans.ExportSettings.IgnorePaging = true; |
| rgAcctTrans.ExportSettings.OpenInNewWindow = false; |
| rgAcctTrans.Columns[0].HeaderStyle.HorizontalAlign = HorizontalAlign.Left; |
| rgAcctTrans.Columns[0].ItemStyle.HorizontalAlign = HorizontalAlign.Left; |
| rgAcctTrans.Columns[1].HeaderStyle.HorizontalAlign = HorizontalAlign.Right; |
| rgAcctTrans.Columns[1].ItemStyle.HorizontalAlign = HorizontalAlign.Right; |
| //rgAcctTrans.Rebind(); |
| switch (ddlExportTo.SelectedValue) |
| { |
| case "Excel": |
| { |
| rgAcctTrans.MasterTableView.ExportToExcel(); |
| break; |
| } |
| case "Word": |
| { |
| rgAcctTrans.MasterTableView.ExportToWord(); |
| break; |
| } |
| case "CSV": |
| { |
| rgAcctTrans.MasterTableView.ExportToCSV(); |
| break; |
| } |
| } |
| ddlExportTo.Items[0].Selected = true; |
| } |
| catch (Exception ex) |
| { |
| lblMessage.Text = "An error has occurred. <br/> " + ex.Message; |
| } } } |
| /// Called by DockLayout just after Init |
| protected void RadDockLayout1_LoadDockLayout(object sender, DockLayoutEventArgs e) |
| { foreach (DockState state in CurrentDockStates) |
| { |
| e.Positions[state.UniqueName] = state.DockZoneID; |
| e.Indices[state.UniqueName] = state.Index; |
| } |
| } |
| /// Called by DockLayout just after PreRender |
| protected void RadDockLayout1_SaveDockLayout(object sender, DockLayoutEventArgs e) |
| { |
| //Save the dock state in the session. This will enable us |
| // to recreate the dock in the next Page_Init. |
| List<DockState> lst = RadDockLayout1.GetRegisteredDocksState(); |
| CurrentDockStates = lst; |
| } |
| <telerik:RadDockLayout runat="server" ID="RadDockLayout1"> |
| <telerik:RadDock ID="GridDock" Title="SELECTED" Top="150px" Left="70%" |
| style=" margin-left:auto; margin-right:auto; min-width:305px;min-height:200px;" DefaultCommands='PinUnpin' Pinned="false" DockMode="Floating" |
| runat="server" > |
| <Commands> |
| <telerik:DockPinUnpinCommand AutoPostBack="true" /> |
| </Commands> |
| <ContentTemplate> |
| <telerik:RadGrid ID="RadGrid2" runat="server" GridLines="None" AutoGenerateColumns="False" style=" border-left-width:0; border-right-width:0; border-top-width:0; border-bottom-width:1; border-bottom-style: solid; width:303px;min-height:200px;" > |
| <MasterTableView> |
| <ExpandCollapseColumn Visible="False" Resizable="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <Columns> |
| <telerik:GridBoundColumn DataField="Name" HeaderText="NAME" |
| ItemStyle-Width='200px' UniqueName="Name"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Parameter" HeaderText="PARAMETER" |
| ItemStyle-Width='200px' UniqueName="Parameter"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </ContentTemplate> |
| </telerik:RadDock> |
| </telerik:RadDockLayout> |

Hi,
I am using below template in grid :-
<telerik:GridTemplateColumn HeaderText="SequenceOrder" Groupable="false" Visible="true">
<ItemTemplate>
<telerik:RadNumericTextBox ID="txtSequence" runat="server" MaxLength="5" NumberFormat-DecimalDigits="0">
</telerik:RadNumericTextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
This is done to assign a sequence to existing RowItems.
Hence when a user enters some number in above textbox and press a button the sequence is updated in database.
And when the user loads the application this textboxes are populated with previously entered sequence at runtime in ItemDataBound Event as below :-
RadNumericTextBox txtSequence = e.Item.FindControl("txtSequence") as RadNumericTextBox;
DataTable table = GetSequenceData();
if (table != null)
{
if (table.Rows.Count == 1)
{
txtSequence.Text = table.Rows[0][0].ToString();
}
}
Is there any way i can sort rows of this grid based on entered sequence values.