Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 782599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:24:39+00:00 2026-05-14T20:24:39+00:00

can any one help me regarding the events related to menubar sub items, here

  • 0

can any one help me regarding the events related to menubar sub items,
here is some code iam working with

        <menuitem label="Home"/>
        <menuitem label="AboutUs"/>
        <menuitem label="CoursesOffered">
            <menuitem label="UG">
              <menuitem label="CSE"/>
              <menuitem label="EEE"/>
              <menuitem label="ECE"/>
              <menuitem label="IT"/>
              <menuitem label="MECH"/>
              <menuitem label="CIVIL"/>
            </menuitem>
            <menuitem label="PG">
              <menuitem label="CSE"/>
              <menuitem label="ECE"/>
              <menuitem label="MCA"/>
            </menuitem>
        </menuitem>
        <menuitem label="Departments">
           <menuitem label="CSE" >
              <menuitem label="HOD" />
              <menuitem label="Staff" />
              <menuitem label="DeparmentGallary"/>
           </menuitem>
           <menuitem label="ECE">
              <menuitem label="HOD"/>
              <menuitem label="Staff" />
              <menuitem label="DeparmentGallary"/>
           </menuitem>
           <menuitem label="EEE">
             <menuitem label="HOD"/>
             <menuitem label="Staff" />
             <menuitem label="DeparmentGallary" />
           </menuitem>
           <menuitem label="IT">
             <menuitem label="HOD"/>
             <menuitem label="Staff"/>
             <menuitem label="DeparmentGallary"/>
           </menuitem>
           <menuitem label="MECH">
             <menuitem label="HOD"/>
             <menuitem label="Staff"/>
             <menuitem label="DeparmentGallary"/>
           </menuitem>
           <menuitem label="CIVIL">
             <menuitem label="HOD"/>
             <menuitem label="Staff"/>
             <menuitem label="DeparmentGallary"/>
           </menuitem>
           <menuitem label="SH"/>
        </menuitem>
        <menuitem label="ExaminationSection"/>
        <menuitem label="TrainingAndPlacement"/>
        <menuitem label="Alumni"/>
        <menuitem label="ContactUs"/>

i want to handle events wen particular subitem is clicked

for example ,if submnu item hod of cse is clicked it should go to the particular mxml page ,and if hod of ece is clicked it shold goto other page
how do i differentiate each page of particular deparment
how do select that particulasr item of that particular submenu itm
if any one knows plz help meeeeeeee……………….?????

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:24:40+00:00Added an answer on May 14, 2026 at 8:24 pm

    The easiest way is to add an id attribute to any menu item that is a leaf and store those id values in static constant fields in the corresponding class.

    public static const None:Number = 0;
    public static const CSE_HOD:Number = 12;
    public static const CSE_STAFF:Number = 13;
    //and so on
    

    in the dataProvider

    <menuitem label="CSE" id="0">
      <menuitem label="HOD" id="12"/>
      <menuitem label="Staff" id="13"/>
    </menuitem>
    <menuitem label="ECE" id="0">
    

    and the itemClick event handler of the MenuBar

    switch(Number(menuEvent.item.@id))
    {
      case CSE_HOD:
        //deal with cse hod here
        break;
      case CSE_STAFF:
        //deal with cse staff here
        break;
        //and so on
      default:break; //switch defaults for non leaf menu items like CSE etc
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

can any one help me with code that subtract 1 from a digit stored
Can any one help regarding the Wibiya ToolBar implementation in the asp.net website?
Can Any one help me reading this XML and Looping through <MedicationDispensed> I get
Can any one help in transforming my xml though XSLT. I am new to
Can any one help me, i already checked resizing demo but this work through
can any one help me in creating a regular expression for password validation. The
Can any one help me how to sort rows by relevance for the following
Hi Can any one help me how i can use NSAttributedStrings with UISearchBar. actually
I am new in Pocket PC and Smart phone. so can any one help
Can anyone help me regarding updating data in the gridview by using AJAX? Once

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.