or

| showDetail: function() { |
| var selectedElement = this.get_editor().getSelectedElement(); |
| var span = document.createElement("SPAN"); |
| var element = this.get_element(); |
| if (selectedElement.nodeName == "comment") { |
| if (selectedElement.attributes["commentValue"] != undefined) |
| span.innerHTML = "Comments Made: " + selectedElement.attributes["commentValue"].value; |
| element.appendChild(span); |
| } |
| element.style.border = "1px solid gray"; |
| element.style.marginTop = "3px"; } |
| }; |
| MyModule.registerClass('MyModule', Telerik.Web.UI.Editor.Modules.ModuleBase); |

Hi,
I'm using RadGrid and getting the error below. I searched through previous similar posts, but I don't believe the problem is with the Telerik,Web.UI assembly version, because I've got the RadMenu control working perfectly in the same app using the same Web.config file. You can see the error by going to http://www.murrayhilltech.com/article_list2.aspx . You can verify that the RadMenu is working on the same site by going to http://www.murrayhilltech.com . Here's the error:
Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
Thanks.
Dave
| <telerik:RadEditor ID="txtContenu" Runat="server" Height="600px" Skin="Web20" Language="fr-FR"> | |
| <Tools> | |
| <telerik:EditorToolGroup> | |
| <telerik:EditorTool Name="Print" /> | |
| <telerik:EditorTool Name="FindAndReplace" /> | |
| <telerik:EditorSeparator /> | |
| <telerik:EditorTool Name="Undo" /> | |
| <telerik:EditorTool Name="Redo" /> | |
| <telerik:EditorSeparator /> | |
| <telerik:EditorTool Name="Cut" /> | |
| <telerik:EditorTool Name="Copy" /> | |
| <telerik:EditorTool Name="Paste" /> | |
| <telerik:EditorTool Name="PasteFromWord" /> | |
| <telerik:EditorSeparator /> | |
| <telerik:EditorTool Name="JustifyLeft" /> | |
| <telerik:EditorTool Name="JustifyCenter" /> | |
| <telerik:EditorTool Name="JustifyRight" /> | |
| <telerik:EditorTool Name="JustifyFull" /> | |
| <telerik:EditorSeparator /> | |
| <telerik:EditorTool Name="Bold" /> | |
| <telerik:EditorTool Name="Italic" /> | |
| <telerik:EditorTool Name="Underline" /> | |
| <telerik:EditorTool Name="Forecolor" /> | |
| <telerik:EditorTool Name="BackColor" /> | |
| <telerik:EditorTool Name="LinkManager" /> | |
| <telerik:EditorTool Name="Unlink" /> | |
| <telerik:EditorSeparator /> | |
| <telerik:EditorTool Name="ImageManager" /> | |
| </telerik:EditorToolGroup> | |
| </Tools> | |
| </telerik:RadEditor> |

| protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) |
| { |
| if (e.CommandName == RadGrid.FilterCommandName) |
| { |
| Pair filterPair = (Pair)e.CommandArgument; |
| switch (filterPair.Second.ToString()) |
| { |
| case "vendNum": |
| TextBox tbPattern = (e.Item as GridFilteringItem)["vendNum"].Controls[0] as TextBox; |
| if (tbPattern.Text.Contains(",")) |
| { |
| string[] values = tbPattern.Text.Split(','); |
| if (values.Length >= 2) |
| { |
| e.Canceled = true; |
| StringBuilder newFilter = new StringBuilder(); |
| for (int i = 0; i < values.Length; i++) |
| { |
| if (i == values.Length - 1) |
| newFilter.Append("([vendNum]='" + values[i] + "')" ); |
| else |
| newFilter.Append("([vendNum]='" + values[i] + "') OR "); |
| } |
| if (RadGrid1.MasterTableView.FilterExpression == "") |
| RadGrid1.MasterTableView.FilterExpression = newFilter.ToString(); |
| else |
| RadGrid1.MasterTableView.FilterExpression = "((" + RadGrid1.MasterTableView.FilterExpression + ") AND (" + newFilter.ToString() + "))"; |
| RadGrid1.Rebind(); |
| } |
| } |
| break; |
| default: |
| break; |
| } |
| } |
| } |
