Menu re-shuffling

Last post 05-09-2008 2:17 AM by Amanda Wang - MSFT. 1 replies.

Sort Posts:

  • Menu re-shuffling

    05-07-2008, 2:55 AM
    • Loading...
    • Chinoo007
    • Joined on 02-25-2008, 6:21 AM
    • Posts 6

     I am using ASP.NET 2.0 to develop a web form. I have a place holder in this web form.

    In web form i am adding asp:menu to a place holder at run time  but the form is post back the menu gets sift a little below in the place holder.

     

    Please let me know how to stop menu re-shuffling.  

  • Re: Menu re-shuffling

    05-09-2008, 2:17 AM

    Hi,

    Chinoo007:
    In web form i am adding asp:menu to a place holder at run time  but the form is post back the menu gets sift a little below in the place holder.

    Did you add the menu control in the page_load event?

    How about try to olace the code that load the menu in   if (!IsPostBack) in the page_load event.

    protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                // popuMenu();
            } 
        }

    If I misunderstand you, please let me know.

    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
Page 1 of 1 (2 items)