-
Jan 21st, 2011, 03:51 AM
#1
Thread Starter
Hyperactive Member
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.
-
Jan 23rd, 2011, 05:16 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|