Solved

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

Posted on 2011-09-13
3
244 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
Comment Utility
do you have link to test what you have?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
Comment Utility
0
 

Author Comment

by:lapucca
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now