This is a migrated thread and some comments may be shown as answers.
error when bind date column to the grid.
1 Answer 15 Views
This is a migrated thread and some comments may be shown as answers.
Chamara
Top achievements
Rank 1
Chamara asked on 12 Jul 2013, 04:05 AM
I have a RadGrid with auto generated columns.i'm getting the below error when i try to bind a datetime column to the grid and it causes filtering options not to show up but grid is working fine when i bind only string columns.error occurs when i try to bind date column to the grid.

Uncaught TypeError: Cannot set property 'control' of undefined Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.b.UI.Control Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.z.initializeBase Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
Telerik.Web.UI.RadWebControl Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:740
H.z.initializeBase Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
Telerik.Web.UI.RadInputControl Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…6ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:16994
H.z.initializeBase Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
Telerik.Web.UI.RadDateInput Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…6ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:18320
H.w.create Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
(anonymous function) Search.aspx:1561
(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.w.raiseEvent Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.w._raiseInit Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.w._doInitialize Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
p Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
H.b._2Pass Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
F Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
d Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3
c Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress…82b16ab%3ad754780e%3a1e088fb%3a52c703eb%3af48dface%3a28a7831e%3a6e2c54c1:3

1 Answer, 1 is accepted

Sort by
0
Deyan Enchev
Telerik team
answered on 16 Jul 2013, 12:53 PM
Hi Chamara,

I have tried to reproduce the problem, but my attempt was not successful.

Because of this I am attaching the sample project I used to test the described scenario. Please run the attached “RadGridDataBinding.zip” and try to reproduce the issue. Note that the grid uses auto-generated columns, filtering and there is a date time column available.

I hope this helps.

Regards,

Deyan Enchev
Telerik
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 the blog feed now.
Tags
Grid
Asked by
Chamara
Top achievements
Rank 1
Answers by
Deyan Enchev
Telerik team
Share this question
or