We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DateTimeEdit control inside a GridDataControl has odd selection behavior

Thread ID:





115894 Feb 20,2014 04:40 PM UTC Mar 4,2014 03:37 AM UTC WPF 3
Tags: DateTimeEdit
Kyle MacDonald
Asked On February 20, 2014 04:40 PM UTC

I have a GridDataControl and in order to have the maximum amount of flexibility i have a custom GridDataVisibleColumn defined that has Two datetime edit controls for the column template.  Whenever i select a row the whole row highlights with default behavior except for the DateTimeEdit controls.  There is a textblock in between these two controls and that highlights properly.  What style do i have to enable/disable in order to get this to work properly? 

Kasthuriraja G [Syncfusion]
Replied On March 3, 2014 08:52 AM UTC

Hi Kyle,

Thanks for using Syncfusion products.

We have analyzed your query. You can highlight the DateTimeEdit control by setting the Background to “Transparent”.

Please find the code snippet below:

Code Snippet:

<syncfusion:GridDataVisibleColumn HeaderText="DateTime" MappingName="Time">



<syncfusion:DateTimeEdit Background="Transparent" />




Here we have attached the sample for your reference.

Please let us know if you have any queries.


Kasthuriraja G


Attachment: DateTimeEdit_629c8b8.zip

Kyle MacDonald
Replied On March 3, 2014 02:58 PM UTC

Awesome this worked.

Kasthuriraja G [Syncfusion]
Replied On March 4, 2014 03:37 AM UTC

Hi Kyle,

Thanks for your update.

Please let us know if you need any further assistance.


Kasthuriraja G


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon