jemigossaye
asked on
Object reference not set to an instance of an object.
Hello,
i am using the infragistics web tree controled and on my page load I am having this error
Object reference not set to an instance of an object. the line that is causing it is below
igTree.Nodes[0].Selected =true ;
here is my page_load code
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
lblId.Text = Request["ParentTitle"];
LoadTree(Request["ParentTi tle"]);
igTree.Nodes[0].Selected =true ;
PopulateUnassignedData();
}
AdminID = Session["admin_id"].ToStri ng();
}
i am using the infragistics web tree controled and on my page load I am having this error
Object reference not set to an instance of an object. the line that is causing it is below
igTree.Nodes[0].Selected =true ;
here is my page_load code
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
lblId.Text = Request["ParentTitle"];
LoadTree(Request["ParentTi
igTree.Nodes[0].Selected =true ;
PopulateUnassignedData();
}
AdminID = Session["admin_id"].ToStri
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks all