Hi All
I have moved the RadTreeView to a UC.
How i wish that when the user clicks on a node, the event is bubbled to the main page, and then the RadGridView is bound.
At the moment in the UC, I have the following:-
protected void RadTreeView1_NodeClick(object sender, RadTreeNodeEventArgs e)
{
//lblError.Visible = false;
//lblError.Text = "";
RadTreeNode nodeEdited = e.Node;
ViewState["nodeLevel"] = e.Node.Level;
ViewState["FullPath"] = e.Node.FullPath;
ViewState["Value"] = e.Node.Value;
//pnlCrawledBuildDetailExtended.Visible = false;
BindGridView();
}
How can I bubble the BindGridView() to the Main Page, and bind the gridview on the main page?
Thanks for your help
Johann
I have moved the RadTreeView to a UC.
How i wish that when the user clicks on a node, the event is bubbled to the main page, and then the RadGridView is bound.
At the moment in the UC, I have the following:-
protected void RadTreeView1_NodeClick(object sender, RadTreeNodeEventArgs e)
{
//lblError.Visible = false;
//lblError.Text = "";
RadTreeNode nodeEdited = e.Node;
ViewState["nodeLevel"] = e.Node.Level;
ViewState["FullPath"] = e.Node.FullPath;
ViewState["Value"] = e.Node.Value;
//pnlCrawledBuildDetailExtended.Visible = false;
BindGridView();
}
How can I bubble the BindGridView() to the Main Page, and bind the gridview on the main page?
Thanks for your help
Johann