Hello Infragistics team,In my application, i have used 'ultraDateTimeEditor' in a number of modules, and used 'appstylist for windows forms' to apply theme. After applying theme, day of the week is not visible on 'ultraDateTimeEditor', as shown in the the image attached. (S,M,T,W,T,F,S)
When the same theme is applied on 'ultraCalendarCombo', days are visible, as shown in attached image. But due to some reasons, I don't want to use Calendar combo in my application, and I want that after applying theme, day of the week must be visible of Ultra Date Time Editor.Looking forward to valuable support. Thanks in advance.
Hello Rajvd,
It coud be that the day of the week font has the same color as the backcolor of the control since there is enough space for them to still appear. Have you tried using any of our included (.ISL) files to compare against your own?To use the sample Style Libraries, open a new Style Library from the File menu and navigate to the C:\Documents and Settings\All Users\Documents\Infragistics 2014.2\Windows Forms\AppStylist for Windows Forms\Styles folder on Windows XP, or C:\Users\Public\Documents\Infragistics 2014.2\Windows Forms\AppStylist for Windows Forms\Styles folder on Windows Vista where these Style Libraries are stored.
I recommend trying if either of these reproduce the behavior or not. Otherwise please attach your style library so I can invesigate this further.
Let me know if you have any questions.
Hello Michael,Thank you for your support. Yes, even I suspected that it could be due to the day of the week font has the same color as the back-color of the control. But I could not fix it. Also I tried to compare it with your included (.isl) files, but didn't succeed in fixing the issue.Here, I am attaching my style library. I'll be really grateful, if you can fix and reattach my style library. Thanks in advance.
Hello Rajivd,
After looking into your ISL and to answer your original question, there is a DotNetMonthDropDown role in AppStylist you can use to override the appearance of the calendar portion of the DateTimeEditor.
However there appears to be an issue with ISL updating the dropdown calendar portion of the DateTimeEditor at runtime. This affects the inbox MonthCalendar control as well, which is what our control displays as the dropdown portion of the control.
I have logged this behavior and attached the sample I used to demonstrate the behavior. It narrows down all the possibilities of styling the various calendar controls.
I have opened a private case for you so that I can link it to an internal development issue. This way you will be notified automatically when the dev issue is updated. The case number is CAS-149539-B6L5V3. You will see it located here: https://es.infragistics.com/my-account/support-activity
Let me know if you have any questions regarding this matter.
Hello Michael,Thank you once again for your support. I had a concern regarding the case you have opened. How much time will it take to fix this issue ? Will I have to upgrade to the next version of Infragistics to get this issue fixed. Right now, I am looking for a work-around, so that it can be fixed until your development team looks into it. As suggested by you, I've used 'DotNetMonthDropDown' to override the appearance. I found no option to change the font color of (Sunday, Monday), which is always BLACK, therefore, I decided to alter the background color of the drop down, but i am still facing issues, as I am not able to completely change the background color of drop down. the upper portion is still black, and the other parts are grey. I want that the complete drop down should appear grey. Here, I am attaching my 'ISL' file, please see if it can be fixed, and the background color of the whole drop down can be made grey. Thanks in advance.
Hello,
This behavior is being caused by the Visual Style set by the app.
You can turn off visual styles in the entire app by going to Program.cs and commenting out:
//Application.EnableVisualStyles();
This will return the MonthCalendar on the form and in the UltraDateTimeEditor dropdown to their older style that supports changing the color. Let me know if you have any questions regarding this matter.
Here is the snapshot of how the date time editor drop down appears. I want the background of the upper portion also to be grey. Thanks.