Programmatically Navigating iPhone Menu

4 posts, 0 answers
  1. Dan
    Dan avatar
    35 posts
    Member since:
    Oct 2008

    Posted 19 Aug 2010 Link to this post

    I have multiple iPhone menus set up ( from this example ... http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/iphonemenu/defaultcs.aspx ) and I'd like the menus to reset to the base level when I switch sections.  Is there any way to programmatically achieve this result?

    Thanks in advance,

    Lars Solberg
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 25 Aug 2010 Link to this post

    Hi Lars,

    I'm not sure what do you mean by "reset to the base level when I switch sections". Are your iPhone RadMenus somehow connected and can you send a live URL where we can check the behavior and provide you a solution? Thank you in advance.

    Best wishes,
    Kamen Bundev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Dan
    Dan avatar
    35 posts
    Member since:
    Oct 2008

    Posted 25 Aug 2010 Link to this post

    Sorry for the confusion, I will attempt to explain my scenario better.  The question really boils down how it's possible to, once the menu has been navigated to a sub level, to programmatically navigate it back to the root level (e.g. if I clicked 'music' link from the demo and then wanted to get back up a level via the code and not the back button).

    Also, is there a way to apply a css style once an item has been clicked?

    Thanks again,

    Lars Solberg
  4. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 30 Aug 2010 Link to this post

    Hello Lars,

    Thank you for the suggestion. It was implemented and the example improvement will be available with the next internal build and service pack. I'm attaching the modified javascript file. You can navigate back by using this method:
    iPodMenu1.navigateBack(true);

    Please note that the default parameter is false which will navigate back only one level. I've also updated your Telerik points for the suggestion.

    Kind regards,
    Kamen Bundev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top