Solved

RightClick Menu

Posted on 2007-03-21
3
276 Views
Last Modified: 2013-12-17
Dear Team

I am using ASP.NET2.0, C#, JavaScript, AJAX

I want to make a right click menu working on GridView, with some items inside the meun, and when I press on it I can handle it from Javascript or from server side and I can fill this menu from Server side if it is possible.

So how can I do that?

Thank you.

0
Comment
Question by:RamyBouchra
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 125 total points
ID: 18763235
0
 

Author Comment

by:RamyBouchra
ID: 18767404
Dear Sir
i found that please help me.

I did down load this control it is Context Menu from Microsoft link: http://msdn.microsoft.com/msdnmag/issues/05/02/CuttingEdge/

I want to make a javascript function that can tell me what did I click, I mean I want to get the values from JavaScript.

I am working with GridView and I use the context menu with it, so I want to know in what row I triggered the menu.

Please advise what to do.

Thank you.
0
 

Author Comment

by:RamyBouchra
ID: 18770061
dear Team
i did use the control found in this site:http://msdn.microsoft.com/msdnmag/issues/05/02/CuttingEdge/


i am working with ASP.NET2.0, C#, AJAX, JAVASCRIPT.

if you please i want to know the following:
1 - why dose the context menu postback, i mean if i want only to use it in the client side, is there a way for it.
2 - i am using the context menu with a gridview so i want to know the current row index, from javascript and if possible from C# too.
3 - i want to know what i clicked on the menu from Javascript.

please advise me what to do.
i am stuck in this problem for 1 week now and i didnt find any solution.
i want you to know that i download the control and i use it sand it is working for me but i want to know these point that will solve my whole problem.

thank you so much in advance.
this is my Email:
zonzone@hotmail.com
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…

920 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

17 Experts available now in Live!

Get 1:1 Help Now