i have a treeView in master page which is generated compltly on code behind and it is added to a place holder.
Problem is that the tree view is always in its first state when navigate from a page to new page.
Data is taken from dataBase
eg: TreeView look like
Select
*Company
*Company Role
intialy its like
Select
and when i select Company, the treeview is in the state
Select
itself
but i need
Select
*Company
*Company Role
My Code Look Like
Problem is that the tree view is always in its first state when navigate from a page to new page.
Data is taken from dataBase
eg: TreeView look like
Select
*Company
*Company Role
intialy its like
Select
and when i select Company, the treeview is in the state
Select
itself
but i need
Select
*Company
*Company Role
My Code Look Like
public
partial
class
Home : System.Web.UI.MasterPage
{
protected
void
Page_Init(
object
sender, EventArgs e)
{
RadTreeView m1 =
new
RadTreeView();
DynamicMenuBLL objDynMainMenu =
new
DynamicMenuBLL();
m1 = objDynMainMenu.GetMenuTree();
placeHolder.Controls.Add(m1);
}
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
}
please give a solution.
Thank You.