Hi all i am using a datatable to populate data for the radmenu.
i have a column LINK in my datatable which is used for DataNavigateUrlField, But my problem is i have put my files into a directory say "Sales"
i.e
sales/ManageCustomer.aspx
but i am inserting only ManageCustomer.aspx in the table. as datatable also contain the ManageCustomer.aspx.
I don't want to give full path Like Sales/ManageCustomer.aspx in the table.
if i give the full path Sales/ManageCustomer.aspx it is working fine.
for this reason i am having problem in case of navigation.
So, What i will do provide the Relative Path for Navigation
i have a column LINK in my datatable which is used for DataNavigateUrlField, But my problem is i have put my files into a directory say "Sales"
i.e
sales/ManageCustomer.aspx
but i am inserting only ManageCustomer.aspx in the table. as datatable also contain the ManageCustomer.aspx.
I don't want to give full path Like Sales/ManageCustomer.aspx in the table.
if i give the full path Sales/ManageCustomer.aspx it is working fine.
for this reason i am having problem in case of navigation.
So, What i will do provide the Relative Path for Navigation
DataTable
dt = _presenter.GetAllMenu();
radMenu1.DataFieldParentID =
"ParentMenuId";
radMenu1.DataFieldID =
"MenuId";
radMenu1.DataNavigateUrlField =
"Link";
radMenu1.DataTextField =
"MenuName";
radMenu1.DataValueField =
"MenuId";
radMenu1.DataSource = dt;
radMenu1.DataBind();
Please help.
Neel