protected void rtvTopLeftPatientMenu_NodeClick(object o, Telerik.WebControls.RadTreeNodeEventArgs e)
{
if (e.NodeClicked.Parent != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Value;
try
{
if (e.NodeClicked.Parent.Parent.Value != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Parent.Value;
}
}
catch { };
}
Hi Guys,
I recently updated telerik controls on a website. Earlier I was using Telerik.WebControls.RadTreeNodeEventArgs but now I'm using Telerik.web.ui.RadTreeNodeEventArgs.
Now my problem is when I change the telerik.webcontrol to telerik.web.ui .............this "e.NodeClicked" property starts showing an error saying that it does not have any property like that. Now I have to update this control but I'm stuck at e.NodeClicked.... So please guys help me out by suggesting some other property which replace this one.
protected void rtvTopLeftPatientMenu_NodeClick(object o, Telerik.WebControls.RadTreeNodeEventArgs e)
{
if (e.NodeClicked.Parent != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Value;
try
{
if (e.NodeClicked.Parent.Parent.Value != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Parent.Value;
}
}
catch { };
}
protected void rtvTopLeftPatientMenu_NodeClick(object o, Telerik.WebControls.RadTreeNodeEventArgs e)
{
if (e.NodeClicked.Parent != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Value;
try
{
if (e.NodeClicked.Parent.Parent.Value != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Parent.Value;
}
}
catch { };
}
protected void rtvTopLeftPatientMenu_NodeClick(object o, Telerik.WebControls.RadTreeNodeEventArgs e)
{
if (e.NodeClicked.Parent != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Value;
try
{
if (e.NodeClicked.Parent.Parent.Value != null)
{
Session["NodeClicked"] = e.NodeClicked.Parent.Parent.Value;
}
}
catch { };
}