Telerik team,
I have radtreeview in radsplitter.[Telerik DLL V2012.1.411.40]
I have a requirement where on a selected index change of RadCombobox a radtree control should be generated. Now if I have selected a value say A from Combobox, the Tree will be generated. Now I select a Node say Node1 from the Tree and then select a different value from Picklist to regenerate the Tree. Now I want that if Node1 is again present as a Node in the new Tree generated, it should be selected and have focus on the respected Node i.e. Node1.
Following is my code
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" MaintainScrollPositionOnPostback="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"><script type="text/javascript"> function OnClientClicking_RadButton(splitter, arg) { var RadTreeView1 = $find("<%=RadTreeView1.ClientID %>"); var Selectednode = RadTreeView1.get_selectedNode(); if (Selectednode != null) { Selectednode.scrollIntoView(); alert(Selectednode.get_text()); } } function splitter(splitter, arg) { var RadTreeView1 = $find("<%=RadTreeView1.ClientID %>"); var Selectednode = RadTreeView1.get_selectedNode(); if (Selectednode != null) { Selectednode.scrollIntoView(); alert(Selectednode.get_text()); } }</script></asp:Content><asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadComboBox"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="radsplitter" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1"> </telerik:RadAjaxLoadingPanel> <telerik:RadSplitter ID ="radsplitter" runat="Server" Width="100%" > <telerik:RadPane ID="Radpane" runat="server" Width="30%"> <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="false" AllowNodeEditing="True" Skin="Vista" EnableDragAndDrop="true" > </telerik:RadTreeView> </telerik:RadPane> <telerik:RadSplitBar ID="Splitbar" runat="server" CollapseMode="Forward" ></telerik:RadSplitBar> <telerik:RadPane ID="Radpane1" runat="server"> <telerik:RadComboBox ID="RadComboBox" runat="server" AutoPostBack="true" OnSelectedIndexChanged="RadComboBox_SelectedIndexChanged" > <Items> <telerik:RadComboBoxItem Text ="Tree1" Value="1" /> <telerik:RadComboBoxItem Text ="Tree2" Value="2" /> </Items> </telerik:RadComboBox> </telerik:RadPane> </telerik:RadSplitter></asp:Content>using System;using Microsoft.VisualBasic;using System.Collections;using System.Collections.Generic;using System.Data;using System.Diagnostics;using Telerik.Web.UI;using System.Web.UI;using System.Xml.Linq;using System.ComponentModel;using System.Drawing;using System.Web;using System.Web.SessionState;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;using System.Xml;using System.Text;using System.Linq;using System.Configuration;using System.Security.Cryptography;using System.IO;using System.Drawing;using System.Text.RegularExpressions;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void RadComboBox_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e) { DataTable dt = new DataTable(); DataRow dr ; String selectednode = ""; if (RadTreeView1.SelectedNode != null) selectednode = RadTreeView1.SelectedNode.Value; if (RadComboBox.SelectedValue == "1") { dt.Columns.Add("NODE_ID", typeof(int)); dt.Columns.Add("PARENT_NODE_ID", typeof(int)); dt.Columns.Add("NODE_NAME", typeof(String)); for (int i = 1; i < 100; i++) { dr = dt.NewRow(); dr["NODE_ID"] = i; if (i != 1) dr["PARENT_NODE_ID"] = 1; dr["NODE_NAME"] = i.ToString() + " Operating costs"; dt.Rows.Add(dr); } RadTreeView1.DataFieldID = "NODE_ID"; RadTreeView1.DataFieldParentID = "PARENT_NODE_ID"; RadTreeView1.DataTextField = "NODE_NAME"; RadTreeView1.DataValueField = "NODE_ID"; RadTreeView1.DataSource = dt; RadTreeView1.DataBind(); RadTreeView1.ExpandAllNodes(); RadTreeView1.EnableViewState = true; } if (RadComboBox.SelectedValue == "2") { dt.Columns.Add("NODE_ID", typeof(int)); dt.Columns.Add("PARENT_NODE_ID", typeof(int)); dt.Columns.Add("NODE_NAME", typeof(String)); for (int i = 1; i < 100; i++) { dr = dt.NewRow(); dr["NODE_ID"] = i; if (i != 1) dr["PARENT_NODE_ID"] = 1; dr["NODE_NAME"] = i.ToString() + " Report whether management has quantitatively estimated the financial implications (e.g., cost of insurance and carbon credits) of climate change for the organization. Where possible, quantification would be beneficial. If quantified, disclose financial implications and the tools used to quantify"; dt.Rows.Add(dr); } RadTreeView1.DataFieldID = "NODE_ID"; RadTreeView1.DataFieldParentID = "PARENT_NODE_ID"; RadTreeView1.DataTextField = "NODE_NAME"; RadTreeView1.DataValueField = "NODE_ID"; RadTreeView1.DataSource = dt; RadTreeView1.DataBind(); RadTreeView1.ExpandAllNodes(); RadTreeView1.EnableViewState = true; } if (selectednode != "") { RadTreeNode node = RadTreeView1.FindNodeByValue(selectednode); node.Selected = true; } }}
Thanks
Sampada

I have broken down the site I am developing into multiple files developed as user controls. It makes more sense to simply add a single usercontrol than to add half a dozen or more other controls to multiple pages, plus when I need to edit the item it gets applied site-wide. However, there seems to be an issue that I am not sure how to handle.
I have a user control "header.ascx" that is included on several webpages.
<%@ Register Src="menu.ascx" TagName="menu" TagPrefix="uc1" %>
<div id="header">
<div id="orgname" class="headerinfo" style="position: relative; z-index: 1500; text-align: right"> <asp:Label ID="lblOrganizationName" runat="server" Font-Names="Arial Black" ForeColor="Gray" Text="Organization Name" Font-Size="Large"></asp:Label> </div> <div id="logindetails" class="headerinfo" style="text-align: right; position: relative; z-index: 1500; top: 0px; left: 0px;"> <asp:Label ID="lblUser" runat="server" Font-Names="Arial" ForeColor="Gray" Text="User Name" Font-Size="Small"></asp:Label> <asp:LoginStatus ID="LoginStatus1" runat="server" Font-Names="Tahoma,Arial" ForeColor="#FF6600" /> <asp:Label ID="lblPage" runat="server" Font-Names="Arial Black" ForeColor="Gray" Text="" Font-Size="Small"></asp:Label> <uc1:menu ID="menu1" runat="server" /> </div> </div>As you can see, I have also included a user control "menu.ascx" that is part of the header as well as part of other pages that don't include the full header.
When I view menu.ascx in the IDE, the menu is rendered correctly. If I view header.ascx in the IDE the menu is rendered correctly, however, whenever I view any page in the IDE that has a header user control, I get an error "Unknown server tag 'telerik:RadMenu'" and the menu isn't rendered.
When the menu isn't nested in another user control, it displays correctly. However, when it is included as part of a larger user control, it does not.
I can build the site and it renders correctly in the browser, however, I cannot see how it interacts with the design when it will not show on the main page.
Am I missing a directive or something so this will display?
Hello, I have some content which needs to be extracted as a PDF and right now I'm able to achieve this by Using RadEditor Export to PDF functionality.
Today We have observed that the extracted PDF is not getting displayed in Windows 8 PDF reader. Is it anything that can be fixed from the Editor itself ?

var
radGrid = $find("<%= rg.ClientID %>");
var view = radGrid.get_masterTableView();
view.set_dataSource(results);
view.dataBind();
I tapped into RowDataBound client event so that I may be able to bind it, but I don't know how I can bind to the label in the template. The issue is, on the server side, I bind an empty array on load server side, so that the mastertableview gets created:
rg.DataSource = new object[] { };
rg.DataBind();
BUt, the no records template appears, and not my template, so I don't know how to bind to the labels....
Any advice would help.
Thanks.