I'm trying to make a simple CSS class for my users to pick to turn on borders on a table. Basically, an easy way for general users to emulate the old border="1" on a table before that was frowned upon. I have found instructions on how to set up a CSS class for the table layout and call it by adding TableLayoutCssFile to my RadEditor declaration. Then, I found another forum article from somebody who wanted to hide chunks of options on the Table Properties tab of the Table Wizard. I've gone through the steps found at http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx. I have been able to hide the whole CSS Class Layout section that appears on the right. My class does show up in the drop down list under CSS Class Layout. When I pick it, the four options (Heading Row, Last Row, First Column, Last Column) become available under the "Apply special formats to" heading. None of the tables we're going to be creating are going to have that level of detail, so I would like to just disable those four checkboxes so as not to confuse my users. I've attached a screen capture and circled the section I'm talking about.
Now, in the TableProperties.ascx file that I am editing and referencing via the ExternalDialogsPath property on the RadEditor declaration, I believe I found the relevant section starting around line 356. I'm pasting it below. Now, I can add display:none to either the td or the fieldset to hide the entire section, but I don't see where it is printing out the individual sections. My guess is those script lines are doing the work, but I don't see any access point for me to get to the checkboxes.
<td rowspan="2" style="vertical-align: top;">
<fieldset style="height: 394px;width:375px;" class="reTablePropertiesCssClass">
<legend>
<script type="text/javascript">document.write(localization["CssClass"]);</script>
<script type="text/javascript">document.write(localization["Layout"]);</script>
</legend>
<telerik:TableBorder id="TableBorder" runat="server"></telerik:TableBorder>
</fieldset>
</td>
Is there a way for me to disable those checkboxes under the CSS Class Layout drop down list?