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

[Solved] Visual validation in custom styles generated by Visual style builder

4 Answers 84 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jana
Top achievements
Rank 1
Jana asked on 05 Dec 2011, 03:02 PM
Dear Telerik-Team,

I created a custom skin using the visual style builder provided by Telerik by choosing a base color and changing some hover colors, nothing fancy.
Unfortunately now visual validation is missing, i.e. the date picker input box does NOT become red when an invalid value like 'sdkafljdsfo' :) is entered.
What could be the reasons for the missing visual validation and how could we fix it?

When we switch the theme back to one of the themes coming with the MVC components visual validation is working as expected.

Thanks a lot in advance.

Jana

4 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 06 Dec 2011, 10:30 AM
Hello Jana,

Can you please send your custom skin so that we may take a look at what has been generated? You can usually override the error styles like this:

.t-state-error {
    border-color: red !important;
    background-color:red !important;
    color: red !important;
}

... but it isn't very pretty.

Best wishes,
Alex Gyoshev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
achilles
Top achievements
Rank 1
answered on 06 Dec 2011, 01:39 PM
Hi Alex,

Please find attached the Custom skin generated by Jana.

Warm Regards

Raja
0
Alex Gyoshev
Telerik team
answered on 08 Dec 2011, 03:22 PM
The problem is caused from the not-yet-updated stylebuilder. We will be updating the application shortly -- up until now, it used the previous version of the skins that didn't contain the necessary error classes.

I have added the missing selectors to the CSS, but it is recommended to re-create the skin once the style builder is updated, next week.

Regards,
Alex Gyoshev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Jana
Top achievements
Rank 1
answered on 08 Dec 2011, 04:17 PM
Hi Alex,

thank you very much for you effort!

Kind regards
Tags
Visual Style Builder
Asked by
Jana
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
achilles
Top achievements
Rank 1
Jana
Top achievements
Rank 1
Share this question
or