CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/1/2008 8:17:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 9 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
10 Items, 1 Pages 1 |< << Go >> >|
idror67
Asp.Net User
problem with sitemap control and querystring3/1/2008 8:17:06 PM

0/0

i have a problem with site map and querystring

i want to point to url with querystring like that

<siteMapNode url="~/search.aspx?areaid=3&amp;cityid=10" title="title1"description="description title 1"/>

it give me navigate only to ereaid but not to the city and in the site map control i see alsaw the ereaid nod please help

 

Dave Sussman
Asp.Net User
Re: problem with sitemap control and querystring3/2/2008 1:21:03 PM

0/0

This is the correct way to do it and it should work OK. I did the same with a SiteMapDataSource and a Menu control and it navigates correctly to the page, passing in the correct query string.

What are you using for your menu? Where exactly do you have a problem?

d

idror67
Asp.Net User
Re: problem with sitemap control and querystring3/2/2008 6:29:48 PM

0/0

my problem is in 2nd qeurystring if i want a city in area i cant get it in site map or if i want some hotel it dosnt give me

when i use a hotel.aspx?id=10 i want to get the hotel name in querystring please help

Dave Sussman
Asp.Net User
Re: problem with sitemap control and querystring3/3/2008 9:25:55 AM

0/0

I'm sorry, but I'm struggling to understand exactly what it is you are trying to do. You can have multiple parameters in the querystring, stored in the sitemap file; your example in your first post works. When you navigate to the page the querystring is passed correctly and both querystring parameters are available in the target page.

idror67
Asp.Net User
Re: problem with sitemap control and querystring3/3/2008 2:17:46 PM

0/0

the problem about multiple prameter like search.aspx?hotelid=10&city=2 in the web.sitemap page i cant nevigate to page with multiple querystring parameter

Amanda Wang - M
Asp.Net User
Re: problem with sitemap control and querystring3/4/2008 6:29:13 AM

0/0

Hi,

idror67:
the problem about multiple prameter like search.aspx?hotelid=10&city=2 in the web.sitemap page i cant nevigate to page with multiple querystring parameter

Base on your description, your problem is the sitemapnode's url with  multiple prameters cannot nevigate?

But I use multiple prameters have a  test, the nevigate works fine,

      <siteMapNode title="Consulting" url="~/TreeView/Cause/case1/Default.aspx?hotelid=10&amp;city=2 ">

Do you make sure nevigate works fine without querystring parameter or with one querystring parameter ?

Or you can create a new blank project to have a try to see the problem can be reproduced.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
idror67
Asp.Net User
Re: problem with sitemap control and querystring3/4/2008 7:57:16 AM

0/0

with out multiple querystring the nevigate works fine please help

Amanda Wang - M
Asp.Net User
Re: problem with sitemap control and querystring3/5/2008 2:53:36 AM

0/0

Hi,

How about in the other application?  Does the navigate work?  But on my test work, the url with multiple querystrings can work ok. 


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
idror67
Asp.Net User
Re: problem with sitemap control and querystring3/5/2008 6:44:07 AM

0/0

the other aplication work ok please help what is the solution

Amanda Wang - M
Asp.Net User
Re: problem with sitemap control and querystring3/6/2008 3:00:20 AM

0/0

Hi,

Base on your feedback, there is no probelm with the sitemap with the multiple querystrings.

Maybe, some settings of our application caused it.

In fact, we cann't guess what caused your problem exactly unless you could post your applcaition here.

Or you can try to check your application step by step.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
10 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

caching in user controls problem - general_asp.net.state_management ... Explore Item Entry Profile Invite History Resources SiteMap. NEWSGROUP .NET ... Archive] Problem with removing a user control from the Cache ASP.NET ...
C# Shiznit - Custom SiteMapProvider Incorporates QueryString Reliance This is a follow-up post related to my troubles with the SiteMap control and related provider. ... The problem with his solution is that he appends the leaf ...
C# Shiznit - SiteMapProvider doesn't take QueryString into consideration ... was pretty stoked to find that ASP.NET 2.0 included a new control called SiteMap. ... I came up with a solution that solved my problem using a Custom ...
.NET ASP Page 37 - Bytes Site Map Problem with ObjectDataSource and Update. Textbox clears on postback. ... SiteMapPath control doesn't like named anchors in sitemap ...
.NET ASP Page 145 - Bytes Site Map problem with user control. PassingObjectstoWebForms. Text in images ... Request.QueryString in class file. Need help with Gacutil.exe and regasm.exe ...
.Net Discoveries : 6 Tweaks for your ASP:Menu Control ... problems were specifically because of my layout and CSS and not the control. ... it MenuPage.aspx, also add a web.sitemap item and leave it with the same name. ...
ComponentArt Forums - Show Post I am using sitemap control for breadcrumbs purpose and my hierarchy is as follows ... I have same set of pages with differnt Querystring parameters. ...



 
All Times Are GMT