or
A post in the Support Forums doesn't guarantee you a
response from the Telerik support team although 95% of all posts are
eventually answered. Additionally, a post is not assigned a response
time as with the support ticketing system. In case you need a faster and precise response, please start a new support ticket as it gets higher priority than Forum posts.
Telerik strives to constantly improve its support services but it is
essential to have full information so as to supply precise replies. It
is important that you follow the guidelines below in order to receive an
accurate response:
GUIDELINES TO USING THE SUPPORT FORUM
ENJOY!!!
function
treeExpandAllNodes() {
var
treeView = $find(
"<%= rtvMain.ClientID %>"
);
var
nodes = treeView.get_allNodes();
for
(
var
i = 0; i < nodes.length; i++) {
if
(nodes[i].get_nodes() !=
null
) {
nodes[i].expand();
}
}
}
<%@ ServiceHost Language="C#" Debug="true"
Service="xxxx.xxxx.layout.ISAPI.xxxx.xxxx.xxxx.myTopBarNavigation,SharePoint.Project.AssemblyFullName$"
CodeBehind="myTopBarNavigation.svc.cs"
Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory,
Microsoft.SharePoint.Client.ServerRuntime,
Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
namespace
kibp.nordlb.layout.ISAPI.kibp.nordlb.layout
{
class
NodeData
{
private
string
text;
public
string
Text
{
get
{
return
text; }
set
{ text = value; }
}
}
//[BasicHttpBindingServiceMetadataExchangeEndpoint]
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
class
kibpTopBarNavigation
{
[OperationContract]
public
IEnumerable GetNodes(RadTreeNodeData node, IDictionary context)
{
int
numberOfNodes = 100;
List<NodeData> nodes =
new
List<NodeData>();
for
(
int
i = 0; i < numberOfNodes; i++)
{
NodeData nodeData =
new
NodeData();
nodeData.Text =
"Node "
+ i;
nodes.Add(nodeData);
}
return
nodes;
}
}
}
HTTP/1.1 500 System.ServiceModel.ServiceActivationException
{"node":{"Text":"Root Node","Value":null,"Key":null,"ExpandMode":3,"NavigateUrl":null,"PostBack":true,"DisabledCssClass":null,"SelectedCssClass":null,"HoveredCssClass":null,"ImageUrl":null,"HoveredImageUrl":null,"DisabledImageUrl":null,"ExpandedImageUrl":null,"ContextMenuID":"","Checked":false},"context":[]}