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

Grid Inline Editor with DateTimePicker doesn't work inside RadWindow.

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rory
Top achievements
Rank 1
Rory asked on 15 Jan 2011, 12:51 AM
Hello,
I've built a UserControl.ascx that consists of a RadGrid using an inline editor and a DateTimePicker column. This UserControl works fine on ordinary aspx pages but once I place this UserControl in a RadWindow the DateTimePicker breaks. I tried turning off the picker by setting "PickerType='None'" and the error went away. How can we get the DateTime Pickers to work. Please help.

The error:
"Line: 6517
Error: 'this.get_timeView()' is null or not an object"

The Telerik Code piece:
{var a=Telerik.Web.UI.RadDateTimePicker.TimePopupInstances[this.get_timeView().get_id()];

Thanks.

2 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 20 Jan 2011, 08:31 AM
Hi Rory,

I tested the described scenario and I could not replicate the described issue. Please, see the attachment and provide us with steps on how to replicate the issue in it, so we can find out what is causing it.

Best wishes,
Tsvetina
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
Rory
Top achievements
Rank 1
answered on 20 Jan 2011, 10:38 PM
Hello,
We discovered that our error is because we were using an HTA to view our application it appears HTAs and Iframes have issues and RadWindow uses an iframe container. We did however work around the error by using a GridTemplateColumn that contains a RadDateTimePicker instead of using the GridDateTimeColumn.
Thanks for the help.
Tags
Grid
Asked by
Rory
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Rory
Top achievements
Rank 1
Share this question
or