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:666860
More Search Options
RSS Available
Matching Posts
Re: DisappearAfter Vs javascript setTimeout
Hum... I'm getting closer ! According to exo-duz in post : http://forums.asp.net/thread/1313924.aspx I add an id to each menuItem. Let me just specify where I increment the counter "i"... private void BuildItem(MenuItem item, HtmlTextWriter writer, int i) { Menu menu = Control as Menu; if ((menu != null ) && (item != null ) && (writer != null )) { writer.WriteLine(); writer.WriteBeginTag( "li" ); writer.WriteAttribute( "class" , item.ChildItems.Count > 0 ? "AspNet-Menu-WithChildren
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/19/2006
Re: Background of currently selected page
Yeah! you're right, your code is better !! You're the boss, keep up the good work :-)
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/19/2006
Re: Background of currently selected page
Hi Russ ! Thanks for this code I was looking for :-) May be this time I can help, as far as I know, this code just highlight the parentItem of the selected item... This is how I modified (just a little) the private bool IsChildItemSelected( MenuItemCollection items) to highlight all the parentItems: private bool IsChildItemSelected(MenuItemCollection items) { bool bRet = false ; if (items != null ) { foreach (MenuItem item in items) { if (item.Selected) { bRet = true ; break ; } if (IsChildItemSelected
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/13/2006
Re: Background of currently selected page
Hi ! Anything new since 05-13-2006 ?? Nobody highlights the selected menuItem for the moment??
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/12/2006
DisappearAfter Vs javascript setTimeout
Hi everybody ! I'm surprise there isn't already a post about it on the forum : I may be missing something As far as I know the menuAdapter doesn't care of the DisappearAfter property of the menu. So I'm trying to modify the MenuAdapter.js this way : function Unhover__AspNetMenu(element) { setTimeout("myFunction ("+element+")", 3000); } function myFunction (element) { RemoveClass__CssFriendlyAdapters(element, hoverClass); if ((typeof(element.iFrameFormElementMask) != "undefined") && (element
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/12/2006
Re: When MenuItem.NavigateUrl is not set the MenuItemClick event isn't fired!
Hi Russ! Thanks for your interest to my problem Yes I tried the code you mentionned, but when running a javascript error occurs telling that the function __DoPostBack was undefined. I decide to try it again with the test page, and I didn't even need the test page, it's works perfectly, I now pass in the menuItemClick event !! Thank you so much Russ for giving me back my faith in .Net ;-)
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/11/2006
Re: When MenuItem.NavigateUrl is not set the MenuItemClick event isn't fired!
Hello, I'm having quite the same problem... I got a menu which use of course the adapter, and use a sitemapdatasource, I would like a second Menu control to display elements of the same level of the one clicked on the first menu. If I am not clear have a look at http://www.eurosport.com/ I found a note from Micorsoft about that : http://msdn2.microsoft.com/en-us/library/16yk5dby.aspx but there example suppose the application to raise the MenuItemClick event... easy for them as they don't set url
Posted to
CSS Friendly Control Adapters
(Forum)
by
Shakhan
on 7/10/2006
Menu always return to home page
Hi ! I'm getting crazy over this ! I got a menu control from the framework 2.0 which is bound to the web.sitemap file. When I click on a menuItem, there's a postback and nothing change, I'm still on the home page !! Looking at my logs, I see I access the page I wantes, and I'm still here at the end of the Page_Load, but after this I don't understand who redirect me to the home page... So I add a single html link to try to access my page and it works fine, I deduce that's not the page that kicks me
Posted to
Custom Modules
(Forum)
by
Shakhan
on 7/5/2006
Usinng a second menu control to display childitems permanently
Hi everybody ! There's is my problem, i'm trying to make a menu that acts like the one on eurosport : www.eurosport.com I mean that child items are displayed and stay visible under the main menu... So I guess I have to bind a second menu... but my problem is that I can't catch no event or postback on user click !! The menu is bound from a sitemapfile so I guess if I could get the sender menuitem I'd certainly be able to do the rest... NB: I can't put specific info in my web pages because I'm working
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
Shakhan
on 7/3/2006
Page 1 of 1 (9 items)
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online