Customeditortemplate save and cancel button all black with black theme

2 posts, 0 answers
  1. Anamika
    Anamika avatar
    157 posts
    Member since:
    Mar 2014

    Posted 22 Sep 2014 Link to this post

    Hello,

    i am using scheduler with custom editor template as per the sample provided by telerik. The only difference being i have culture set to de-DE. I also have a theme selector . Customeditor popup window save and cancel buttons look ok  for most of the themes but not for black, high contrast. For these black themes the save and cancel button text is also black and save button does not have focus and no different color. Not sure what is messing up button style. So i would like to know if in custom editor or scheduler view i can define some css to get these 2 buttons behave properly.

    Thanks

    Anamika
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1442 posts

    Posted 24 Sep 2014 Link to this post

    Hello Anamika,

    The Save and Cancel buttons are outside the container in which the template is rendered, so this should not be related. The button's styles could be overridden using a simple CSS rule. For example: 
    <style>
      .k-scheduler-update, .k-scheduler-cancel{
          color: red;
      }
    </style>

    I also tried to reproduce this by changing the themes in our demos, but everything worked as expected.

    Regards,
    Alexander Popov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top