We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can not get MouseUp event when clicking on Text cell of GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

23049 Jan 4,2005 05:35 AM UTC Jan 4,2005 08:32 AM UTC WinForms 3
loading
Tags: GridControl
David Bosak
Asked On January 4, 2005 05:35 AM UTC

1) When cursor is in Text cell of GridDataboundGrid, then Right mouse click I can not get MouseUp event. Please show me how to do it? 2) I would like to implement Cut/Copy/Paste/SelectAll features on text cell of GridDataBoundGrid but I can not implement SelectAll on Text Cell. The Text cell doesn''t have SelectAll method like TextBox. How can I implement selectAll function in Text cell? Thanks for your help!

Administrator [Syncfusion]
Replied On January 4, 2005 06:48 AM UTC

1) Here is a thread that has a sample at the bottom. http://64.78.18.34/Support/forums/message.aspx?MessageID=19319 2) Given the currentcell, here is ode that will select all the text in a TextBox cell. GridCurrentCell cc = this.gridControl1.CurrentCell; cc.BeginEdit(); GridTextBoxControl tb = cc.Renderer.Control as GridTextBoxControl; if(tb != null) tb.SelectAll();

David Bosak
Replied On January 4, 2005 07:40 AM UTC

I am using GridDataBoundGrid not GridControl. So can you answer these question for GridDataboundGrid? Thanks! >1) Here is a thread that has a sample at the bottom. > >http://64.78.18.34/Support/forums/message.aspx?MessageID=19319 > >2) Given the currentcell, here is ode that will select all the text in a TextBox cell. > >GridCurrentCell cc = this.gridControl1.CurrentCell; >cc.BeginEdit(); >GridTextBoxControl tb = cc.Renderer.Control as GridTextBoxControl; >if(tb != null) > tb.SelectAll(); >

David Bosak
Replied On January 4, 2005 08:32 AM UTC

Great!, Thank you very much!. Everything is ok now.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;