Solved

How do I invoke code behind when jQuery superfish menu is clicked?

Posted on 2011-09-13
3
248 Views
Last Modified: 2012-08-13
Hi I'm using asp.net and C#
When user click to see an item's detail in superfish menu, Detail, I need to pass an item id from the selected ID on a Gridview control as a parameter when i redirect to the detail page.  I've only used jQuery menu where I just give a url.  However, can someone tell me how to intercept the menu so I can append propery item id refore redirecting to the detail page?  Thanks.
0
Comment
Question by:lapucca
3 Comments
 
LVL 51

Expert Comment

by:HainKurt
ID: 36532154
do you have link to test what you have?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36532181
0
 

Author Comment

by:lapucca
ID: 36534054
Hi Leak,
Let me ask this question in a different way.  When user clicks on one of the superfish menu item, Detail, is there a way to set the redirect url by appending the Asp.net Gridview control's selected item Key value?  
Or, can I implement this using just Gridview double click event on the row?  (Is there such an event available?)

I don't see how can I call PageMethod per your post when a superfish menu is clicked.
Thanks.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Google Analytics setup 5 51
removing a class in javascript 4 50
How to create a slidershow with the use of the property cover in css 15 49
Visual Studio npm 1 12
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question