
The script manager is an AJAX ToolkitScriptManager.
The grid seems to function perfectly apart from filtering. When I attempt to filter the following error is returned
Message: 'Sys$Enum$parse' is undefined Line: 2951 Char: 55 Code: 0 |
URI: |
http://machine/project/ScriptResource.axd?d=uGOaxGkvEePM-XITAS7HdYgdtEC_2h8s3nT0YB4_k4X9r-qiHP2gpiGD--kG1fjE9x_rFUcN0gTBUY4TId2jMQ2&t=4ed2e5c4 |
This is a real issue as the site is heavily dependent upon the filtering functionality.
I have check the web.config references, I have also checked that HTTP compression is not enabled etc.
Any clues? This is starting to drive me crazy!!
Thanks,
Jason
11 Answers, 1 is accepted
Based on the supplied information, it is hard to determine what is causing this exception.
To properly track the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with our findings.
Regards,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

I can confirm that the issue which you mentioned is present, in the 4.0 version of the framework.
However, it has been addressed by our developers. The fix will be part of the next internal build, which will be available from your client.net account later next week.
Let us know if further issues arise.
Greetings,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

I have problem same as Jason.
I use "Visual Studio 2010" and "RadControls For ASP.Net AJAX 2010 Q1".
I explain my problem:
*** Excuse me, I can not texting in English very well.
- I added new page to my project.
- I added ScriptManager (VS built-In, Not Rad) to my page.
- I added UpdatePanel to my page.
- I added RadGrid to UpdatePanel's ContentTemplate.
- I configured RadGrid DataSource by its wizard and use LinqDataSource.
- I enabled RadGrid extra features like Grouping & Filtering.
- I ran application and every things was perfect; (Sorting, Grouping, Filtering, ...)
- Then I added an assembly refrence to my project. (AjaxControlToolkit.dll built on .Net 4.0)
- I added a form view above RadGrid and configured it for inserting purpose.
- I used ValidatorCallOutExtender control in FormView's InsertItemTemplate.
- I ran application again and attempted to insert a new row.
- Every things seems to be perfect... oops when I attempt to filter one column, a JavaScript error raised.
- I faced to an error like "Jason Thacker".
- I commented ValidatorCallOutExtender's tag and tried again, but error was raised again.
- I removed refrence of AjaxControlToolkit.dll and tred again, but error was raised again.
- I found that AjaxControlToolkit.dll is still in "Bin" folder of application.
- I removed it and tried again...There is no error... Wow.
I try search subject or some thing like that to solve my problem in Telerik's support sites but face to this topic here.
I hope this information was useful to finding the error's cause.
Thanks a lot.
Without having a runnable application for testing it is rather difficult to suggest what could cause the presented behavior. However we are glad that you have mentioned to find the root cause of the problem.
Thank you for sharing it with us.
All the best,
Maria Ilieva
the Telerik team

I’m using a GridHyperlinkColumn because I wanted to have a hyper link column that I could also filter. The link part works great but any attempt to filter the column give the following error:
Microsoft JScript runtime error: ‘Sys$Enum$parse’ is undefined.
any idea what could be wrong?
Regards,
Sebastian
the Telerik team


I've proplem same as Jason Thacker about filter in RadGrid. I using lastest version RadControls and working .net 3.5.
I run demo project then it still working. But I add my project then doesnt not work and generate script error:
Sys$Enum$parse is not defined
.....
Telerik.Web.UI.GridFilterFunction.registerEnum("Telerik.Web.UI.GridFilterFunction",false);
I've add ScripManager in Master Page
In file xxx.aspx I've add RadAjaxManager
This is in file xxx.aspx:
void Page_PreRender(object sender, EventArgs e)
{
foreach (Field info in fieldList)
{
if (info.FieldInfo.Type.ToLower().Equals("lookupgrid"))
{
RadComboBox combo = (info.control as RadComboBox);
RadAjaxManager1.AjaxSettings.AddAjaxSetting(combo.Items[0].FindControl(info.FieldInfo.Name + "rda"),
combo.Items[0].FindControl(info.FieldInfo.Name + "rda"));
}
}
}
public void InstantiateIn(Control container)
{
RadGrid radGrid = new RadGrid();
radGrid.ID = name + "rda";
radGrid.AllowFilteringByColumn = true;
radGrid.AllowSorting = true;
radGrid.GroupingSettings.CaseSensitive = false;
radGrid.ClientSettings.EnableRowHoverStyle = true;
radGrid.NeedDataSource += new GridNeedDataSourceEventHandler(radGrid_NeedDataSource);
radGrid.PreRender += new EventHandler(radGrid_PreRender);
//---
radGrid.MasterTableView.AutoGenerateColumns = false;
radGrid.MasterTableView.Columns.Clear();
foreach (Column col in columns)
{
//columnNameNoLang = col.Name.Replace("@LANG", basePage.Lang);
GridBoundColumn templateColumn = new GridBoundColumn();
templateColumn.DataField = col.Name;
switch (basePage.Lang)
{
case "en":
templateColumn.HeaderText = col.Caption_en;
break;
case "it":
templateColumn.HeaderText = col.Caption_it;
break;
default:
templateColumn.HeaderText = col.Caption_en;
break;
}
templateColumn.Visible = col.Visible;
templateColumn.AllowFiltering = true;
templateColumn.ShowFilterIcon = false;
templateColumn.AutoPostBackOnFilter = true;
templateColumn.CurrentFilterFunction = GridKnownFunction.Contains;
radGrid.MasterTableView.Columns.Add(templateColumn);
radGrid.ClientSettings.ClientEvents.OnRowSelected = "RowSelected_" + name;
radGrid.ClientSettings.Selecting.AllowRowSelect = true;
}
container.Controls.Add(radGrid);
}
void radGrid_PreRender(object sender, EventArgs e)
{
RadGrid grid = sender as RadGrid;
grid.MasterTableView.AutoGenerateColumns = false;
}
void radGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
RadGrid grid = source as RadGrid;
DataTable dt = CaseDal.GetDatafromQueryString(datasource);
grid.DataSource = dt;
}
I hope that you recomment and fixed about error for me.
Thanks.
Verify that you are using the latest release 2011.1.519 of RadControls for ASP.NET AJAX in your project along with the .NET 35 version of the AJAX Toolkit (see this thread for reference). This should ensure the compatibility between our AJAX controls and the toolkit and you should not get any errors on filtering action.
Regards,
Sebastian
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Thanks for your coments. I'm using AjaxControlToolkit for other controls. If I want to run width rad grid then I must be remove AjaxControlToolkit . Have you any other ideal?
Thanks.