GridDateTimeColumn with DateTimePicker is grayed out and doesn't work

5 posts, 0 answers
  1. Brandon
    Brandon avatar
    2 posts
    Member since:
    Apr 2009

    Posted 03 Apr 2009 Link to this post


    I am having a problem that I can't figure out.  I am trying to use the RadGrid to manage a list, part of which is a LastUpdated for each item.  It is stored in a database as a DateTime and I am using a LINQ to SQL datasource object.  Everything works great in the grid except the date time picker.  I am using the following code for my Date Time column:

    <telerik:GridDateTimeColumn DataField="LastUpdated" HeaderText="LastUpdated"  
                                SortExpression="LastUpdated" UniqueName="LastUpdated"  
                                DataType="System.DateTime" PickerType="DateTimePicker">

    The date and time picker icons show up but they are grayed out and I can't do anything with them.  I have searched and searched and no one else seems to have had this problem and I have made sure my code is using the exact same syntax as others who have gotten theirs working.  What am I doing wrong.  Did I forget something important?  I am using the ASPNET AJAX Q2 2008.  Thanks in advance.

  2. Brandon
    Brandon avatar
    2 posts
    Member since:
    Apr 2009

    Posted 03 Apr 2009 Link to this post

    Update:  I have gotten the DateTimePicker to work.  The issue was that I had the RadGrid in an Update Panel so that it would update using Ajax.  Is there a way I can still have the Update Panel and have the DateTimePicker?  Because I really don't want to have to reload the page everytime the user clicks to edit an item.  Just to clarify I have also tried the RadAjaxManager and gotten the same problem.  There is something with the RadGrid that is making the calendar picker disappear when it is in an update panel.
  3. DevCraft R3 2016 release webinar banner
  4. Sebastian
    Sebastian avatar
    9934 posts

    Posted 06 Apr 2009 Link to this post

    Hello Brandon,

    Does the same issue appear with the latest release 2009.1.402 of RadControls for ASP.NET AJAX? Is there a particular reason why you are using previous version of the controls? I made several local tests based on this online demo of the product:

    and everything seemed to work as expected. I will appreciate if you outline the differences in your particular case as they can help us identify the cause of the issue to address it asap.

    Best regards,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  5. Homam
    Homam avatar
    6 posts
    Member since:
    Feb 2009

    Posted 18 Dec 2010 Link to this post


    I've had the same problem, I'm using Q3 2010 version, The problem is appear when the RadGrid exists inside an UpdatePanel.

    Any help ! 

  6. Kiara
    Kiara avatar
    309 posts
    Member since:
    Jul 2006

    Posted 20 Dec 2010 Link to this post

    I do use the same telerik version and I do not have the problem, Homam. May be some collision with the grid's wrapping container z-index stops you from clicking the picker icon? Check that with IE dev toolbar or Firebug.

Back to Top
DevCraft R3 2016 release webinar banner