Hello,
We are currently in the process of evaluating RadEditor in order to use it in a MOSS 2007 Publishing project.
Functionality fits our project needs but there are some issues that need clarification.
The version I have deployed on our MOSS Server is RadEditorMOSS 5.6.2.0 and I am using a RadHtmlField embedded in a Page Layout.
I would like to verify the following things regarding Tables:
1. In Table Wizard: Table Properties: CSS Class Layout , there is a drop down with pre-defined styles. Is it possible to create your own custom styles that apply to tables, and how is this done?
2. In the following RadEditor Demo (http://demos.telerik.com/aspnet-ajax/editor/examples/tablelayoutcssfile/defaultcs.aspx)
, when you click on an element of a table, on the bottom of the editor, some choices on setting the element's style appear. Does this functionality exist only in ASP.NET version of the editor, or there is a way to enable it in the MOSS version also?
Your feedback would be very helpful.
Regards,
Kostas
| <telerik:RadGrid ID="grdworkhistory" AllowMultiRowSelection="True" AllowMultiRowEdit="True" |
| Skin="WebBlue" runat="server" AllowAutomaticInserts="True" EnableViewState = "false" |
| Width="97%" PageSize="10" AllowAutomaticUpdates="True" |
| AllowPaging="True" AutoGenerateColumns="False" OnItemCreated="grdworkhistory_ItemCreated" |
| ShowStatusBar="True" |
| GridLines="Both" ShowFooter="True"> |
| <ClientSettings> |
| <Selecting AllowRowSelect="true" /> |
| </ClientSettings> |
| <MasterTableView CommandItemDisplay="Top" DataKeyNames="EmploymentEpisodeId" ClientDataKeyNames="EmploymentEpisodeId" |
| EditMode="EditForms" AutoGenerateColumns="False" Width="100%"> |
| <Columns> |
| <telerik:GridEditCommandColumn> </telerik:GridEditCommandColumn> |
| <telerik:GridBoundColumn DataField="JobEmployer.Name" EditFormColumnIndex="0" HeaderText="Name" SortExpression="Name" |
| UniqueName="WHname" Visible="true"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="JobTitle" EditFormColumnIndex="1" HeaderText="Title" SortExpression="Title" |
| UniqueName="WHtitle" Visible="true"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="JobEmployer.EmployerAddress.Address1" EditFormColumnIndex="0" HeaderText="Address" SortExpression="created_date" |
| UniqueName="WHaddress" Visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridDropDownColumn DataField="JobEmployer.EmployerAddress.AddressCountry.CountryId" EditFormColumnIndex="1" HeaderText="Country" |
| SortExpression="WHcountry" UniqueName="Country" Visible="false" ListTextField="name" ListValueField="countryId"> |
| </telerik:GridDropDownColumn> |
| <telerik:GridBoundColumn DataField="JobEmployer.EmployerAddress.City" EditFormColumnIndex="0" HeaderText="City" |
| SortExpression="WHcity" UniqueName="city" visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridDropDownColumn DataField="JobEmployer.EmployerAddress.AddressState.StateId" EditFormColumnIndex="0" HeaderText="State" |
| SortExpression="WHstate" UniqueName="state" Visible="false" ListTextField="name" ListValueField="stateId"> |
| </telerik:GridDropDownColumn> |
| <telerik:GridBoundColumn DataField="JobEmployer.EmployerAddress.PostalCode" EditFormColumnIndex="1" HeaderText="Postal" |
| SortExpression="WHpostal" UniqueName="postal"> |
| </telerik:GridBoundColumn> |
| <telerik:GridDateTimeColumn EditFormColumnIndex="0" DataField="BeginDate" HeaderText="From" |
| SortExpression="WHfrom" UniqueName="beginDate" Visible="true" > |
| </telerik:GridDateTimeColumn> |
| <telerik:GridDateTimeColumn EditFormColumnIndex="1" DataField="EndDate" HeaderText="To" |
| SortExpression="WHto" UniqueName="endDate" Visible="true"> |
| </telerik:GridDateTimeColumn> |
| <telerik:GridBoundColumn ItemStyle-Wrap="true" EditFormColumnIndex="0" DataField="Description" |
| SortExpression="WHDescription" UniqueName="description" Visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn ItemStyle-Wrap="true" EditFormColumnIndex="0" DataField="EmploymentEpisodeId" |
| SortExpression="WHID" UniqueName="EmploymentEpisodeId" Visible="false"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| <EditFormSettings ColumnNumber="2" CaptionDataField="Work History" CaptionFormatString="Edit properties for work history"> |
| <FormTableItemStyle Wrap="true"></FormTableItemStyle> |
| <FormCaptionStyle > </FormCaptionStyle> |
| <FormMainTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="3" BackColor="White" |
| Width="100%" /> |
| <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" |
| BackColor="White" /> |
| <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle> |
| <EditColumn ButtonType="LinkButton" |
| InsertText="Insert " UpdateText="Update record" UniqueName="EditCommandworkhistory" CancelText="Cancel edit"> |
| </EditColumn> |
| <FormTableButtonRowStyle HorizontalAlign="Left" ></FormTableButtonRowStyle> |
| </EditFormSettings> |
| </MasterTableView> |
| </telerik:RadGrid> |
| GridEditFormInsertItem edititem = (GridEditFormInsertItem)e.Item; |
| string EquipShortName = ((TextBox)edititem.FindControl("TextBoxName")).Text; |
| <MasterTableView CommandItemDisplay="Bottom" EditMode="EditForms"> |
| <Columns> |
| <telerik:GridBoundColumn UniqueName="TextBoxName" DataField="TextBoxName"> |
| </telerik:GridBoundColumn> |
| <telerik:GridEditCommandColumn |
| UniqueName="EditCommandColumn" |
| CancelText="Cancel" |
| UpdateText="Update" |
| InsertText="Insert" |
| EditText="Edit" |
| > |
| </telerik:GridEditCommandColumn> |
| <telerik:GridButtonColumn CommandName="Delete" Text="Delete"></telerik:GridButtonColumn> |
| </Columns> |
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <div style="color:#333333;"> |
| <table width="100%" border="1" |
| style=" |
| background-color:#D9F0FF; |
| font-family:Arial; |
| font-size:9pt; |
| border-color:Black; |
| border-left-color:Black; |
| " |
| cellpadding="2" cellspacing="2" |
| > |
| <tr> |
| <td style="width:50%"> |
| <table cellpadding="0" cellspacing="0" border="0" width="100%"> |
| <tr> |
| <td>Name</td> |
| <td align="right</td> |
| </tr> |
| </table> |
| </td> |
| <td style="width:50%"> |
| <asp:TextBox ID="TextBoxName" runat="server" |
| Text='<%# Bind("TextBoxName") %>' |
| Width="99%" TextMode="MultiLine" Rows="3" |
| ></asp:TextBox> |
| </td> |
| </tr> |
| </table> |
| </FormTemplate> |
| </EditFormSettings> |
| </MasterTableView> |
| <MasterTableView CommandItemDisplay="Bottom" EditMode="InPlace"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="120px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="120px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn DataField="TextBoxName" HeaderText="TextBoxName" UniqueName="TextBoxName"> |
| </telerik:GridBoundColumn> |
| <telerik:GridEditCommandColumn |
| UniqueName="EditCommandColumn" |
| CancelText="Cancel" |
| UpdateText="Update" |
| InsertText="Insert" |
| EditText="Edit" > |
| </telerik:GridEditCommandColumn> |
| <telerik:GridButtonColumn CommandName="Delete" Text="Delete"></telerik:GridButtonColumn> |
| </Columns> |
| <EditFormSettings > |
| </EditFormSettings> |
| </MasterTableView> |
| <telerik:GridBoundColumn DataType="System.Int32" UniqueName="UserAccountStatus" |
| SortExpression="UserAccountStatus" HeaderText="Status" DataField="UserAccountStatus"></telerik:GridBoundColumn> |