Explanation of advanced properties for controls?

Posted by Community Admin on 03-Aug-2018 03:00

Explanation of advanced properties for controls?

All Replies

Posted by Community Admin on 15-Apr-2013 00:00

Hi,

Can someone point me to a list of the various advanced properties for each type of control? I know a lot of them come from standard .NET controls, but many seemingly do not.

My current problem: All I'm trying to do is style the validator error messages for a form textbox. It seems like this should be a simple issue, but I'm pulling my hair out.

In the advanced properties for my textbox control, I see the following possibilities:
     ControlCssClassOnError
     ErrorMessageControl -> CssClass (if this is it, does "Enabled" also need to be set to "true"?)
     ValidatorDefinition -> MessageCssClass

I've tried setting all three to the class name I've got defined in my CSS, but to no avail.

The Sitefinity documentation only mentions the following:

"For more information about what each property means and what to enter in the input fields, see CompositeControl Properties on Microsoft Developer Network."

... which is all well and good, but I can find none of these properties at that link.

Anyone with ideas?
Thanks,
Kevin

Posted by Community Admin on 17-Apr-2013 00:00

Hi Kevin,

 Thank you for using our services.

There's actually a css class, which is set to the error input, where the validation message appears. However, there are cases where you'd like to add something more specific to make the styling experience better. I have recorded a demonstrative video, where I add some additional html to the validation message and one custom class, which will be used to style the message. Then I add browser specific css for internet explorer in a css widget on the page, where I have the form. This way I'm able to style the message for IE. Please take a look at the video for further reference:

http://screencast.com/t/gouDSjZ92e

Hope this helps!

Regards,
Jen Peleva
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed