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

Weird client-binding problem in Chrome

2 Answers 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Scott R
Top achievements
Rank 1
Scott R asked on 08 Jun 2010, 04:24 PM
I have a weird problem with client data binding in the Chrome browser. All other browsers work fine. I haven't spent a lot of time investigating - mostly because I have no idea where to start.

I have a RadGrid (2010.1.415.35) with several columns, two of which are date columns and are right next to each other (Invoice Date and Due Date). The grid is bound on the client using results from a web service. The Invoice Date always populates correctly, but the Due Date only displays data for the top row in the grid. All of the other rows have a blank Due Date. All other columns are populated correctly.

As I said, everything works fine in IE, FireFox, Safari, etc. It is only Chrome that has the problem.

You can see a working example (or, non-working example as the case may be) by logging in to our demo site:
http://sandbox.invoicesmadeeasy.com/Login/UserLogin.aspx
Username: demo@invoicesmadeeasy.com
Password: demopass

Once you log in, click on the "Open (Unpaid)" folder on the left side of the screen to view the grid. You will see that all 3 rows have a Due Date in IE/FireFox/Safari, but if you log in using Chrome then only the top row displays the Due Date.

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 11 Jun 2010, 03:10 PM
Hello Scott,

Unfortunately the issue is caused by bug in Chrome browser. You can find it reported here.
To overcome this issue you can override the _getTokenRegExp method of the ajax framework Date object as  listed bellow:
Date._getTokenRegExp = function Date$_getTokenRegExp()
{
 return new RegExp(/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z/g);
}


Regards,
Nikolay
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.
0
Scott R
Top achievements
Rank 1
answered on 14 Jun 2010, 10:06 PM
Thanks for taking the time to investigate and reply!
Tags
Grid
Asked by
Scott R
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Scott R
Top achievements
Rank 1
Share this question
or