Hi
I want to know whether TreeView support radio button or not.
And one more thing that can we arrange the different treeview's nodes into different rows of a tables
for better perception given below the e.g.
|
|
|
|
|
|
|
|
ARM - Nancy Stewart - NorthEast
|
|
|
|
|
|
TSR - Joe Young - Upper NY South
|
|
|
PHR - Peter Fox - Upper NY East
|
|
|
PHR - Sandra Smith - Upper NY West |
|
|
Intern - Monica Sorawski - Upper NY North |
| |
|
|
|
|
| |
|
| |
|
|
|
|
I am using DNN 4.8.4 and defaulted HtmlEditor to RadEditor in the web.config.
I have a module which load the DnnEditor ("~/Controls/texteditor.ascx"), I am receiving the below mentioned error while loading the module:
A critical error has occurred.
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
When I switch back the "FckHtmlEditorProvider" as default there wont be any error. In this page I am using the RadAjax too.
I have downloaded the "RadControls_for_ASP.NET_AJAX_2008_2_723_dev.exe" and using it.
Could you please help me in resolving the above mentioned issue?
Thanks in Advance.
Regards,
Dax
function ClientNodeExpanded(sender, eventArgs)
{
var node = eventArgs.get_node();
alert(node); //so far so good. I am getting [object object]
var hdNodeExpandCtrl = node.findControl("hdNodeExpand");
}
<asp
:UpdatePanel ID="RadTreeUpdatePanel" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadTreeView ID="RadTreeView1" Width="100%" runat="server" ShowLineImages="False"
OnClientNodeExpanded="ClientNodeExpanded" Skin="Web20"OnClientNodeCollapsed="ClientNodeCollapsed" >
<NodeTemplate>
<div id="nodeEle" runat="server">
<input type="hidden" id="hdNodeExpand" value="0" />
</div>
</NodeTemplate>
</telerik:RadTreeView>
</ContentTemplate>
</asp:UpdatePanel>
body
{
font-family: Arial, Helvetica, san-serif; font-size: 11px;
background-color: #383838;
color: #fff;
}
But something wierd happens when using the editor. If I start typing in the editor without changing anything, the text looks just fine. But if I select the text i have entered, hit backspace to delete and type some more, the editor wraps that text in a <span> tag and applies a different background color to that text. Here is the markup the editor creates:
<span style="background-color: #383838">this is a test</span>
Normally this would be fine, but it just so happens that the page I am putting the output of the editor on does not always have the same background color so the text looks highlighted. Is there any way to prevent it from putting a background color unless specifically added via the text background tool?

<%
@ Page Language="VB" AutoEventWireup="false" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" >
<
head runat="server">
<title>demo</title>
</
head>
<
body >
<form id="frmMaster" runat="server">
<iframe id="MainFrame" src="raddocktest.aspx" height="700" frameborder=0 width="500" scrolling="no" >
</iframe>
</form>
</
body>
</
html>
RADDOCKTEST.ASPX<%
@ Page Language="VB" AutoEventWireup="false" CodeFile="raddocktest.aspx.vb" Inherits="raddocktest" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml" >
<
head runat="server">
<title>Untitled Page</title>
</
head>
<
body>
<form id="form1" runat="server">
<div>
<asp:Panel runat=server ID="MainArea"></asp:Panel>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
</div>
</form>
</
body>
</
html>
RADDOCKTEST.aspx.vbImports
Telerik.Web.UI
Partial
Class raddocktest
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim Raddock As New RadDock
Raddock.Width = 200
Raddock.Height = 100
Raddock.Top = 200
Raddock.Left = 200
Raddock.Title =
"hello"
Raddock.ID =
"MYRADDOCK"
MainArea.Controls.Add(Raddock)
End Sub
End
Class