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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

23049 Jan 4,2005 12:35 AM Jan 4,2005 03:32 AM Windows Forms 3
loading
Tags: GridControl
David Bosak
Asked On January 4, 2005 12:35 AM

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 01:48 AM

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 02:40 AM

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 03:32 AM

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.

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.

;