We are evaluating Rad Editor (version 5) for MOSS. We have a custom theme for our site and after using the Rad Editor, we noticed that the styles are not the same as our theme. What my end result is that when ever a user adds this webpart to their site, and adds content, the fonts and styles would be the same fonts as our custom theme. I have read the documentation at http://www.telerik.com/support/kb/aspnet-ajax/sharepoint/populating-radeditor-s-apply-css-class-dropdown-with-custom-styles.aspx and followed these instructions, but it seems that when I add content to the page it does not follow the new CSS file that I created at /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/custom.css. I added this to my toolsfile.xml
| <cssFiles> |
| <item name="/_wpresources/Custom.css " /> |
| </cssFiles> |
editor.fire("MediaManager");editor._dialogOpener._dialogDefinitions.MediaManagervar ImageManagerDefinitions = editor._dialogOpener._dialogDefinitions.ImageManager;var MediaManagerDefinitions = objectCloner(ImageManagerDefinitions)MediaManagerDefinitions.Title = "Media Manager";editor._dialogOpener._dialogDefinitions.MediaManager = MediaManagerDefinitions;Node 2:
How can i find if the parent node is check?
Here what i need to do!
If the user click item 1 and item 3 and click submit
He will recive a message that item 1 and item 3 is check
For that part i have no probleme
But if he check item 1 , item 2 and item 3 "all the item" then
He will receive a message that Node 1 is check
Any idea how can do this?
For the first part i am using something like this :
Dim nodeCollection As IList(Of RadTreeNode) = RadTreeView1.CheckedNodes For Each node As RadTreeNode In nodeCollection MsgBox() Next
<telerik:RadTextBox ID="RadTextBoxNodeName" Text="Jeff" Runat="server" /> <telerik:RadTextBox ID="RadTextBoxNodeType" Text="Student" Runat="server" /> <telerik:RadTextBox ID="RadTextBoxNodeMemo" Text="Test ..." Runat="server" /> <telerik:RadButton ID="RadButton1" runat="server" Text="OK" onclick="RadButton1_Click"> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>protected void RadButton1_Click(object sender, EventArgs e) { RadWindow rwin = new RadWindow(); rwin.VisibleOnPageLoad = true; rwin.NavigateUrl = "/window.aspx"; this.RadWindowManager1.Windows.Add(rwin); }<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
private void Page_Load(object sender, System.EventArgs e)
{
this.Label1.Text = Request.HttpMethod; // Post or Get
}