This is a migrated thread and some comments may be shown as answers.

Telerik.Web.UI.ParseException - Digit expected

6 Answers 281 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amy
Top achievements
Rank 1
Amy asked on 10 Aug 2011, 04:30 PM
Anyone know what causes this error?  I've never seen this one before.

Here's the stack trace:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Digit expected (at index 81)
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.a_cm_cl_cs_p_sv_selectionsummary_viewall_aspx.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

We are using version 2011.2.712.35 of the Telerk.Web.UI DLL.  Our web application is ASP.NET/VB.NET.

I did a google search on this error but was not able to find anything.

Thanks,

6 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 11 Aug 2011, 08:46 AM
Hi Amy,

We are not aware of such error with RadControls and in the provided call stack there no execution of RadControls' methods. Could you please provide more detailed information on the subject? A sample project reproducing the problem will be of great help solving case.

In addition, you can find a guidance on how to isolate an issue in the following blog post:
Isolating a problem in a sample project

Best wishes,
Dobromir
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.

0
Paul
Top achievements
Rank 2
answered on 17 Aug 2011, 12:36 PM
Now that I have just purchased the license, I too have a similar issue !!

Basically, my application throws the error when rebinding a radgrid after having changing the culture to Portuguese. The application calls the NeedDataSource and formats the numbers within the resulting datatable (as I would expect), but then it all goes AWOL.

For information to you Telerik boffins, the dump i get is:

Telerik.Web.UI.ParseException was unhandled by user code<BR>  
Message="Digit expected"<BR>  Position=6181<BR>  
Source="Telerik.Web.UI"<BR>  
StackTrace:<BR>       at 
Telerik.Web.UI.ExpressionParser.ValidateDigit()<BR>       
at 
Telerik.Web.UI.ExpressionParser.NextToken()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseComparison()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalOr()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseExpression()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseArguments()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseArgumentList()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseIif()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseIdentifier()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParsePrimary()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseUnary()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseMultiplicative()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseAdditive()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseComparison()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalOr()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseExpression()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseNew()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseIdentifier()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParsePrimary()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseUnary()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseMultiplicative()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseAdditive()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseComparison()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseLogicalOr()<BR>       
at 
Telerik.Web.UI.ExpressionParser.ParseExpression()<BR>       
at Telerik.Web.UI.ExpressionParser.Parse(Type 
resultType)<BR>       at 
Telerik.Web.UI.GridDynamicQueryable.Select(IQueryable source, String selector, 
Object[] values)<BR>       at 
Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()<BR>       
at 
Telerik.Web.UI.GridDataTableFromEnumerable.FillData()<BR>       
at 
Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()<BR>       
at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, DataView 
dataView, Boolean autoGenerateColumns, GridColumnCollection presentColumns, 
String[] additionalField, Boolean retrieveAllFields, Boolean 
enableSplitHeaderText)<BR>       at 
Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, 
IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, 
GridColumnCollection presentColumns, String[] additionalField, Boolean 
retrieveAllFields, Boolean 
enableSplitHeaderText)<BR>       at 
Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, 
Object dataSource, String dataMember, Boolean caseSensitive, Boolean 
autoGenerateColumns, GridColumnCollection presentColumns, String[] 
additionalField, Boolean retrieveAllFields, Boolean 
enableSplitHeaderText)<BR>       at 
Telerik.Web.UI.GridTableView.get_ResolvedDataSource()<BR>       
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, 
Boolean useDataSource)<BR>       at 
System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable 
data)<BR>       at 
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable 
data)<BR>       at 
System.Web.UI.WebControls.DataBoundControl.PerformSelect()<BR>       
at 
Telerik.Web.UI.GridTableView.PerformSelect()<BR>       
at 
Telerik.Web.UI.GridTableView.DataBind()<BR>       
at Telerik.Web.UI.RadGrid.DataBind()<BR>       at 
Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason 
rebindReason)<BR>       at 
Stocks_3.RadComboBox1_SelectedIndexChanged(Object sender, 
RadComboBoxSelectedIndexChangedEventArgs e) in 
C:\inetpub\wwwroot\Telerik_vs2008\Stocks_3.aspx.vb:line 
432<BR>       at 
Telerik.Web.UI.RadComboBox.OnSelectedIndexChanged()<BR>       
at 
System.Web.UI.Page.RaiseChangedEvents()<BR>       
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
Boolean includeStagesAfterAsyncPoint)<BR>  InnerException:
 


Am not sure if this will help in your investigations, but worth a try !


0
Dobromir
Telerik team
answered on 22 Aug 2011, 09:04 AM
Hi Paul,

Could you please open a formal support ticket and provide a sample fully runnable project reproducing the problem so we can examine and debug it locally?

Kind regards,
Dobromir
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Paul
Top achievements
Rank 2
answered on 23 Aug 2011, 09:55 AM
Just for information ..... I did create a separate ticket for something different, but I believe that the 2 have something in common.

Ticket ID 455195 actually helped to resolve this issue !!!!
0
Willem
Top achievements
Rank 1
answered on 13 Dec 2011, 09:24 AM
I have the exact same problem. Has this been solved?
0
Marin
Telerik team
answered on 13 Dec 2011, 11:08 AM
Hi Willem,

 The previous issue was for a specific scenario where a custom defined expression contained the comma symbol "," which can be interpreted as both a decimal separator in some cultures as well a arguments delimiter for the parameters of a function. This was generating the parser error.
You should check whether you have such kind of expressions that can be interpreted in a different way according to the current culture settings of your application.

Best wishes,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
General Discussions
Asked by
Amy
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Paul
Top achievements
Rank 2
Willem
Top achievements
Rank 1
Marin
Telerik team
Share this question
or