ASP.Net Tree View--urgent
-
Iam wriiten the code for ASp.Net 2.0 using the Control TRee View and database to display in a tree view. But when I run the code Iam getting an error as "The file web.sitemap required by XmlSiteMapProvider does not exist." Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The file web.sitemap required by XmlSiteMapProvider does not exist.
-
Iam wriiten the code for ASp.Net 2.0 using the Control TRee View and database to display in a tree view. But when I run the code Iam getting an error as "The file web.sitemap required by XmlSiteMapProvider does not exist." Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The file web.sitemap required by XmlSiteMapProvider does not exist.
Do you have a Web.sitemap file at the root level of your web site virtual folder ? This must be a valid XML file with your menu description.
Regards, Satips.:rose:
-
Do you have a Web.sitemap file at the root level of your web site virtual folder ? This must be a valid XML file with your menu description.
Regards, Satips.:rose:
Can u tell me how this could be checked abnd if not present what i should do?
-
Can u tell me how this could be checked abnd if not present what i should do?
first u put a SiteMapDataSource control on page. then set it to ur Treeviews DataSourceID. Before this make a web.sitemap and assign data what u want to show in Treeview.
Bajrang Singh Using .net 2.0 (VS2005)
-
Iam wriiten the code for ASp.Net 2.0 using the Control TRee View and database to display in a tree view. But when I run the code Iam getting an error as "The file web.sitemap required by XmlSiteMapProvider does not exist." Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: The file web.sitemap required by XmlSiteMapProvider does not exist.