Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:478205
More Search Options
RSS Available
Matching Posts
Re: -- SiteMapProvider class
I have add the name of DLL in the web.config : <appSettings/> <connectionStrings> <add connectionString="server=.;trusted_connection=true;database=Cepir" name="connection"/> </connectionStrings> <system.web> <siteMap defaultProvider="tstPro" enabled="true"> <providers> <add name="tstPro" type="Cepir.MySiteMapProvider, MySiteMapProvider.dll" connectionStringKey="connection"/> <
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 10/16/2004
Re: -- SiteMapProvider class
I compile MySiteMapProvider.cs file in MySiteMapProvider.dll. I add a reference (MySiteMapProvider.dll), VS has create a new bin folder with the dll file. But I have always this error : Exception Details: System.Web.HttpException: The SiteMapProvider 'MySiteMapProvider' cannot be found. :(
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 10/16/2004
Re: -- SiteMapProvider class
My file is in the Code folder. I'll try to compile it and add to the assembly.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 10/15/2004
Re: -- SiteMapProvider class
Hello, Thanks for your answer. I place the "command.Connection = conn " after "command.CommandText" as you write. But I have a new error message : "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.Web.HttpException: The SiteMapProvider 'MySiteMapProvider' cannot be found." I despair :'(
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 10/14/2004
Re: -- SiteMapProvider class
Ok, finally i've found an example I adapt to use with SQL SERVER : using System; using System.Web; using System.Data.SqlClient; using System.Data.SqlTypes; using System.Data; using System.Configuration; using System.Configuration.Provider; using System.Collections; using System.Collections.Specialized; /// <summary> /// Définit un nouveau provider pour le SiteMap /// </summary> /// namespace Cepir { public class MySiteMapProvider : SiteMapProvider { private SiteMapProvider parentSiteMapProvider
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 10/11/2004
-- SiteMapProvider class
Frederik and I agree with him, thinks the follow mail could be interesting for anyone. So, I post it here : **************************************************************************** Hello, I'm a beginner in C# and I'm looking for an example about an extended SiteMapProvider class. I don't know how (and what) methods overriding to get menu items extract from a database. Could you give me an example or a url about this ? Thank you very well. Best regards, Florian ----- Hi, You can find the http
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 9/22/2004
Re: Building Menus Dynamically
Hello, I need to write a class extends SiteMapProvider class too, but I'm a newbie in C# and I don't know how to write it :'(. I would like to populate the SiteMapDataSource with a Sqlserver Table. somebody could write a short example please ? Thanks very well !
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
ezeckiel
on 9/16/2004
Re: XPathDocument - Save some XML elements
Ok, thanks !
Posted to
XML and XmlDataSource Control
(Forum)
by
ezeckiel
on 7/31/2004
XPathDocument - Save some XML elements
Hello, I'm a beginner in C# and ASP.NET. I would like to copy in a new xml file some elements from a existing xml file. so I wrote this : XPathDocument doc = new XPathDocument(Server.MapPath("testi.xml")); XPathNavigator nav = doc.CreateNavigator(); XPathExpression Expr = nav.Compile("/svg//g[@id='"+ Request.QueryString["ID"]+"']//ancestor-or-self::*"); Now, how to write in to a xml file, elements in Expr ? Thanks.
Posted to
XML and XmlDataSource Control
(Forum)
by
ezeckiel
on 7/30/2004
Page 1 of 1 (9 items)
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online