or
<
telerik:EditorTool name="PasteOptions" />
but it does not work. I'm looking to get the options there Paste, Paste From Word, Paste from Word, strip font, Paste Plain Text, Paste As Html
| <img src="myfile.jpg" /> |
| <a href="myfile.jpg" rel="lightbox[GROUPNAME]"><img src="myfile.jpg" /></a> |

| <Telerik:RadGrid ID="gridLists" runat="server" AutoGenerateColumns="False" GridLines="None" AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"> |
| <MasterTableView> |
| <Columns> |
| . |
| . |
| . |
| . |
| . |
| <Telerik:GridButtonColumn HeaderText="Edit" CommandName="ListEdit" Text="Edit" UniqueName="EditColumn"></telerik:GridButtonColumn> |
| <Telerik:GridButtonColumn HeaderText="Delete" CommandName="ListDelete" Text="Delete" UniqueName="DeteleColumn"></telerik:GridButtonColumn> |
| </Columns> |
| <NoRecordsTemplate>You have not selected any lists.</NoRecordsTemplate> |
| </MasterTableView> |
| </Telerik:RadGrid> |
| gridLists.ItemCommand +=new GridCommandEventHandler(gridLists_ItemCommand); |
| OnItemCommand="gridLists_ItemCommand" |
| class GroupTopicTemplate : ITemplate |
| { |
| public void InstantiateIn(Control container) |
| { |
| HtmlGenericControl div = new HtmlGenericControl("div"); |
| CheckBox chkSelected = new CheckBox(); |
| chkSelected.ID = "chkSelected"; |
| int rowNumber = int.Parse(container.Parent.ClientID.Substring(container.Parent.ClientID.Length - 1)) + 1; |
| chkSelected.Attributes.Add("onclick", "onCheckBoxClick(" + rowNumber.ToString() + ")"); |
| div.Controls.Add(chkSelected); |
| Label lblName = new Label(); |
| lblName.Text = "Text"; |
| lblName.DataBinding += new EventHandler(lblName_DataBinding); |
| lblName.ID = "lblName"; |
| container.Controls.Add(div); |
| } |
| void lblName_DataBinding(object sender, EventArgs e) |
| { |
| Label target = (Label)sender; |
| RadComboBoxItem item = (RadComboBoxItem)target.BindingContainer; |
| string itemText = (string)DataBinder.Eval(item, "Text"); |
| target.Text = itemText; |
| } |
| } |
| RadComboBox rcGroupTopics = new RadComboBox(); |
| rcGroupTopics.ID = "rcGroupTopics" + rowString; |
| rcGroupTopics.EmptyMessage = "None"; |
| rcGroupTopics.HighlightTemplatedItems = true; |
| rcGroupTopics.AllowCustomText = true; |
| rcGroupTopics.Skin = "WebBlue"; |
| rcGroupTopics.ItemTemplate = new GroupTopicTemplate(); |
| td.Controls.Add(rcGroupTopics); |
| DataView dv = new DataView(dt); |
| dv.Sort = "name"; |
| TopicDropDownList.DataSource = dv; |
| TopicDropDownList.DataTextField = "name"; |
| TopicDropDownList.DataValueField = "tagname"; |
| TopicDropDownList.DataBind() |
This text should not centre
This text should centre
2) Highlight "This text should centre"
3) Click the text centre tool
In Chrome it behaves as expected and centre's "This text should centre" but not "This text should not centre". However, in IE bot lines are centered.
Any suggestions?

