Results 1 to 2 of 2

Thread: Menu to Control a page

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2008
    Posts
    407

    Menu to Control a page

    HI Guys,
    I'm playing around with menu's. asp menu's basically navigate a webpage to different webpages, but what I want to do is use the menu to control the buttons and functions that I have on the page. Is there a way to do that?

    An example:
    Say I have a button on a page that causes a label to change text. I want to attach that button to a menu item and then when the user clicks on the menu the labe changes text.

    Any Ideas?
    Thanks.
    My Websites
    SharpMP3 - MP3 Design Articles www.sharpmp3.com
    Yobbers - Job Search www.yobbers.com
    Lets Trend - Methods For Riding Stock Trends www.letstrend.com

  2. #2
    ASP.NET Moderator gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Menu to Control a page

    Hey,

    Are you expecting this change of label text to occur on the client side, or on the server side with a PostBack to the server?

    You could definitely do it quite easily with a PostBack to the server, i.e. just put a parameter in the querystring of the NavigateUrl Property to indicate what action you want to take.

    However, having this happen on the client side would be a little more involved.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width