ASPX templates
Version 4.x > ASPX templates > CMSEditableRegion CssClass View modes: 
User avatar
Member
Member
bluerhino_avanmeter - 6/12/2009 4:15:01 PM
   
CMSEditableRegion CssClass
When using the CMSEditableRegion control in Textbox mode, I was expecting the CssClass field to be applied to the contents of the editable region when it was rendered on page. This doesn't seem to be the case, and the Controls documentation seems confirm that it is "used by the CMSPageManager control only and shouldn't be modified in your code."

It does not seem to do anything at all, either in the page or in the CMSDesk. Is their a particular reason it is not used, or is it just something that was a WebControl carryover and not implemented in the editable region control?

I can get around it by just placing spans with the class defined around the editable region, but it'd be a nice feature for the CssClass to actually apply to the content automatically, if it's not being used in some other way within the control.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 6/16/2009 5:57:43 AM
   
RE:CMSEditableRegion CssClass
Hello,

we plan to suit our web part properties to standard .NET behavior to one of next versions. Then the CssClass will work for .NET developers as expected.

However, thank you for your suggestions.

Best regards,
Helena Grulichova