Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: student registration without validation using class Pin
Richard MacCutchan8-Dec-14 23:45
mveRichard MacCutchan8-Dec-14 23:45 
AnswerRe: student registration without validation using class Pin
Richard Deeming9-Dec-14 2:06
mveRichard Deeming9-Dec-14 2:06 
GeneralRe: student registration without validation using class Pin
Richard MacCutchan9-Dec-14 6:13
mveRichard MacCutchan9-Dec-14 6:13 
QuestionPayment Gateway Not working in Master Page Pin
Member 106878536-Dec-14 20:20
Member 106878536-Dec-14 20:20 
SuggestionRe: Payment Gateway Not working in Master Page Pin
ZurdoDev8-Dec-14 9:52
professionalZurdoDev8-Dec-14 9:52 
Questionsitemap question Pin
Member 87616676-Dec-14 8:21
Member 87616676-Dec-14 8:21 
AnswerRe: sitemap question Pin
Member 106878536-Dec-14 20:21
Member 106878536-Dec-14 20:21 
GeneralRe: sitemap question Pin
Member 87616677-Dec-14 2:58
Member 87616677-Dec-14 2:58 
Hello

Thanks for your reply.

I am trying to use the correct code to reference sitemap in Web.config, but my browser gives me errors if I use:

<siteMap defaultProvider="siteMap">

<siteMap defaultProvider="siteMap.xml">

<siteMap defaultProvider="siteMap.xml" enabled="true" >

<siteMap defaultProvider="siteMap" enabled="true" >


My sitemap is called sitemap and is an xml file that looks like this:

<?xml version="1.0"?>

<siteMap>
  <siteMapNode title="Home" description="Home" url="~/index.aspx" />
  <siteMapNode title="Register" description="Register" url="~/Register.aspx" />
  <siteMapNode title="Login" description="Login" url="~/Login.aspx" />
  <siteMapNode title="Upload" description="Upload your files" url="~/upload.aspx" />
  <siteMapNode title="My Work" description="My Work" url="~/mywork.aspx" />
  <siteMapNode title="Contact me" description="Contact me" url="~/Contact.aspx" />
  <siteMapNode title="Error" description="Website error" url="~/error.aspx"  />
</siteMap>


I have checked with an online validator and the code has no errors.

My Web.config looks like this:

<siteMap defaultProvider="siteMap" enabled="true" >
  <!--<siteMap defaultProvider="XmlSiteMapProvider">-->
   <!--<siteMap defaultProvider="siteMap.xml">-->
    <providers>
      <!--<add name="SimpleTextSiteMapProvider" type="Samples.AspNet.SimpleTextSiteMapProvider,Samples.AspNet" siteMapFile="siteMap.xml"/>-->
      <add name="SimpleTextSiteMapProvider" type="XmlSiteMapProvider" siteMapFile="siteMap.xml"/>
    </providers>
  </siteMap>
  </system.web>


As you can see, I have tried a few possibilies but still not getting anywhere!

Thanks again for reply.
Questionhow can i create dynamic checkbox and get that's value when i click button in asp.net using vb.net Pin
nidhin10006-Dec-14 7:19
nidhin10006-Dec-14 7:19 
AnswerRe: how can i create dynamic checkbox and get that's value when i click button in asp.net using vb.net Pin
PIEBALDconsult6-Dec-14 7:54
mvePIEBALDconsult6-Dec-14 7:54 
QuestionUser Controls disappear on PostBack Pin
Member 106878534-Dec-14 19:10
Member 106878534-Dec-14 19:10 
AnswerRe: User Controls disappear on PostBack Pin
syed shanu4-Dec-14 19:59
mvasyed shanu4-Dec-14 19:59 
GeneralRe: User Controls disappear on PostBack Pin
Anurag Gandhi5-Dec-14 7:48
professionalAnurag Gandhi5-Dec-14 7:48 
GeneralRe: User Controls disappear on PostBack Pin
syed shanu5-Dec-14 12:10
mvasyed shanu5-Dec-14 12:10 
GeneralRe: User Controls disappear on PostBack Pin
Member 106878536-Dec-14 20:13
Member 106878536-Dec-14 20:13 
QuestionI am still struggling to find a fix for this. Can some guru please help? Pin
samflex4-Dec-14 10:37
samflex4-Dec-14 10:37 
AnswerRe: I am still struggling to find a fix for this. Can some guru please help? Pin
ZurdoDev4-Dec-14 10:44
professionalZurdoDev4-Dec-14 10:44 
GeneralRe: I am still struggling to find a fix for this. Can some guru please help? Pin
samflex4-Dec-14 11:05
samflex4-Dec-14 11:05 
QuestionRe: I am still struggling to find a fix for this. Can some guru please help? Pin
ZurdoDev4-Dec-14 14:14
professionalZurdoDev4-Dec-14 14:14 
AnswerRe: I am still struggling to find a fix for this. Can some guru please help? Pin
onelopez4-Dec-14 11:18
onelopez4-Dec-14 11:18 
AnswerRe: I am still struggling to find a fix for this. Can some guru please help? Pin
jkirkerx4-Dec-14 13:04
professionaljkirkerx4-Dec-14 13:04 
GeneralRe: I am still struggling to find a fix for this. Can some guru please help? Pin
samflex4-Dec-14 16:44
samflex4-Dec-14 16:44 
GeneralRe: I am still struggling to find a fix for this. Can some guru please help? Pin
jkirkerx5-Dec-14 7:58
professionaljkirkerx5-Dec-14 7:58 
GeneralRe: I am still struggling to find a fix for this. Can some guru please help? Pin
samflex5-Dec-14 8:54
samflex5-Dec-14 8:54 
GeneralRe: I am still struggling to find a fix for this. Can some guru please help? Pin
jkirkerx5-Dec-14 11:41
professionaljkirkerx5-Dec-14 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.