Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 12th, 2012, 05:08 PM
Authorized User
Join Date: Dec 2011
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default disable postback on root node of sitemap of a menu

Hi Friends
still looking for answer on this 1 .
I have following in my sitemap:

<siteMapNode url="" title="Tracks">

<siteMapNode url="UI/Tracks1.aspx?mode=1" title="Open " description="" />

<siteMapNode url="UI/Track2.aspx?mode=2" title="Requirements" description="" />

I don't want user to have ability to click on Tracks Requests. how can I disble the click on it and postback. Basically i want to make the root node "TRACKS" NON clickable. removing the URL also it doesn't work. i did remove the url and checked. please help

currently it's doing a postback for nothing. I just want to remove the functionality to postback on this item.


Last edited by saifsid9; February 21st, 2012 at 04:43 PM..

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I show treeview root node sg48 BOOK: Beginning ASP.NET 2.0 and Databases 0 December 12th, 2008 02:49 PM
TreeView and SiteMap Node Order robzyc ASP.NET 1.0 and 1.1 Basics 0 May 19th, 2008 04:27 AM
Two separate menu from one sitemap? KieshaJ310 ASP.NET 2.0 Basics 5 July 4th, 2007 01:31 AM
SiteMapDataSource won't find my root node... thenoseknows ASP.NET 2.0 Professional 0 October 31st, 2006 04:22 PM
Replacing New Root Node fauster XSLT 4 October 6th, 2006 11:17 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.