
LBGChart.Series[0].Appearance.LegendDisplayMode = Telerik.Charting.
ChartSeriesLegendDisplayMode.ItemLabels;
I want the legend to coorespond or be the same as the x axis labels. So basically I'm asking how to customize the text.
I have a scheduler to which i have tried to put a ContextMenu if the page is out of a MasterPage works well, but if the page work with masterPage the context menu does not open, open the popup normal when right-click is clicked
I acknowledge that it is not always fails, it fail when there is some data loaded in the scheduler if there is no data works perfect of the two forms.
Any idea or suggestion that could be affecting the behavior.????
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not Page.IsPostBack Then
LoadRootNodes()
End If
End Sub
Private Sub LoadRootNodes()
Dim connection As New SqlConnection(ConfigurationManager.ConnectionStrings("TelerikConnectionString").ConnectionString)
Dim selectCommand As New SqlCommand("SELECT * FROM Nodes WHERE ParentId IS NULL", connection)
Dim adapter As New SqlDataAdapter(selectCommand)
Dim data As New DataTable()
adapter.Fill(data)
For Each row As DataRow In data.Rows
Dim node As New RadTreeNode()
node.Text = row("Text")
node.Value = row("Id")
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
RadTreeView1.Nodes.Add(node)
Next
End Sub
Protected Sub RadTreeView1_NodeExpand(ByVal sender As Object, ByVal e As RadTreeNodeEventArgs) Handles RadTreeView1.NodeExpand
Dim connection As New SqlConnection(ConfigurationManager.ConnectionStrings("TelerikConnectionString").ConnectionString)
Dim selectCommand As New SqlCommand("SELECT Nodes.Id AS NodeId, Nodes.Text AS NodeText, COUNT(Children.Id) AS ChildCount FROM Nodes LEFT JOIN Nodes As Children ON Nodes.Id = Children.ParentId WHERE Nodes.ParentId = @parentId GROUP BY Nodes.Id, Nodes.Text", connection)
selectCommand.Parameters.AddWithValue("parentId", e.Node.Value)
Dim adapter As New SqlDataAdapter(selectCommand)
Dim data As New DataTable()
adapter.Fill(data)
For Each row As DataRow In data.Rows
Dim node As New RadTreeNode()
node.Text = row("NodeText")
node.Value = row("NodeId")
If CInt(row("ChildCount")) > 0 Then
node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack
End If
e.Node.Nodes.Add(node)
Next
e.Node.Expanded = True
End SubRadTreeView1_NodeExpand.grid.ShowGroupPanel =
true;
grid.ClientSettings.AllowDragToGroup =
true;
I build and deploy WebPart on test machine (VPC for SharePoint developer from Microsoft). It works fine. After I deploy WebPart on my work server (2003 Server SP2 + IE7). Add this WebPart on page. I see that Drag&Drop doesn't work. Mouse cursor doesn't look like as cross and I can't move a column header to group panel. What's a problem in? Thank you.