Solved

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

Posted on 2011-09-13
3
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

Expert Comment

by:Huseyin KAHRAMAN
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

738 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