or

var chart = $find("<%= myChart.ClientID %>"); in a javascript function on the content page and I just click a button to call it. But chart comes back as null. What am I doing wrong?
At that point the context menu starts displaying but the OnClientMouseOut is called which closes the meta window. Then the context window immediately dissapears and the mouse is now (hasn't moved) over the node's hover zone and the meta window is created a fresh and comes back up.
The expected behavior is that the context window, as with the RadWindow which has been poped up, should exist together until the user chooses an action on the right click menu. At that point I could determine whether to close the RadWindow or not.
Is it possible to not have the context operation generate a call to the OnMouseClose?
advTHANKSance
<telerik:RadChart ID="chtPrices" runat="server" DefaultType="Line" Width="500px" Height="300px" AutoLayout="true"> <ChartTitle Visible="false" /> <Legend Visible="false" /> <PlotArea> <XAxis Visible="True" /> <YAxis ScaleBreaks-Enabled="true" IsZeroBased="false" /> <EmptySeriesMessage TextBlock-Text="No Data Selected"/> </PlotArea> </telerik:RadChart>DataTable prices = PricessManager.GetPrices();chtPrices.DataSource = prices;chtPrices.DataBind();Here is the Ajax request event which I used to call on my another control click: /// <summary>
/// Handles the AjaxRequest event of the RadAjaxManager1 control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="Telerik.Web.UI.AjaxRequestEventArgs"/> instance containing the event data.</param>
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
//UserControl treelist = (UserControl)this.FindControl("serverComptDetailsView");
UpdatePanel updPanel = (UpdatePanel)serverComptDetailsView.FindControl("upPanel");
RadTreeList treelist = (RadTreeList)serverComptDetailsView.FindControl("gvCustomerMonitorFailures");
CEntronRestServiceClient serviceClient = new CEntronRestServiceClient();
RequestOfint request = new RequestOfint();
request.Data = Convert.ToInt32(e.Argument.ToString());
ResponseOfMonitoringDataFailureDTOHGZ00jlC response = new ResponseOfMonitoringDataFailureDTOHGZ00jlC();
response = serviceClient.GetMonitoringDataFailureDetailByDeviceID(request);
treelist.DataSource = response.Result;
}
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><br><telerik:RadTreeView ID="RadTreeView1"<br> runat="server" TriStateCheckBoxes="true" CheckBoxes="true" CheckChildNodes="false"><br> <Nodes><br> <telerik:RadTreeNode Text="hello" Value="hello"></telerik:RadTreeNode><br> <telerik:RadTreeNode Text="hello1" Value="hello1" Selected="true" Checked="true"><br> <Nodes><br> <telerik:RadTreeNode Text="hello11" Value="hello11"></telerik:RadTreeNode><br> <telerik:RadTreeNode Text="hello12" Value="hello12"></telerik:RadTreeNode><br> <telerik:RadTreeNode Text="hello13" Value="hello13"></telerik:RadTreeNode><br> </Nodes><br> </telerik:RadTreeNode><br> <telerik:RadTreeNode Text="hello2" Value="hello2"></telerik:RadTreeNode><br> <telerik:RadTreeNode Text="hello3" Value="hello3"></telerik:RadTreeNode><br> </Nodes><br> </telerik:RadTreeView>RadTreeView1.ClearCheckedNodes();<br>RadTreeNode trnode = RadTreeView1.GetAllNodes().Where(tn => tn.Text=="hello1").FirstOrDefault();<br> trnode.Selected = true;<br> // trnode.Checkable = true;<br> trnode.Checked = true;