Right click is a browser feature, not something that belongs to the
datagrid - your datagrid is really nothing more than an html table once you
can pyhsically look at it on screen. You will have to manually build the
code to support right click context menus, probably as dhtml and output
that. You might want to fish about in google for a few DHTML examples of
context menus.
--
Regards
John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_auth or_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_autho r_plug>
----------------------------------------------
"Seb" <an*******@disc ussions.microso ft.com> wrote in message
news:06******** *************** *****@phx.gbl.. .
Hello All,
I want to enable the User to define visible cols in a
DataGrid.
Is there a way to set a contextMenu for my DataGrid (or
at least the Page)?
Does anyone now, how I can handle rightclick-Events?
Or is there some other way to solve this problem without
building a separate 'operating-page'?
Thanks
Seb