Thursday, February 4, 2010

HOW TO GIVE ROOT PATH TO LINKS

< href="<%= rootPath%>/Courses/MyCourses/Default.aspx">Assign Modules



< href="<%= rootPath%>/Assessment/MyAssesments/UserAssessments.aspx">Assign Assessments


public string rootPath = LMSBeta.BLL.Configuration.GetRootPath();
public string role;
protected void Page_Load(object sender, EventArgs e)
{
role = Convert.ToString(Session["RoleName"]);
}

No comments:

Post a Comment