DataGrid right-click Events

  • Thread starter Thread starter Seb
  • Start date Start date
S

Seb

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
 
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_author_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_author_plug>
 
Back
Top