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.
Syncfusion Feedback

Regd---Highlight Text

Thread ID:

Created:

Updated:

Platform:

Replies:

34935 Sep 20,2005 03:29 AM Sep 20,2005 08:06 AM Windows Forms 1
loading
Tags: GridControl
manohar
Asked On September 20, 2005 03:29 AM

Hi There, I am using RichTextCell,IntegerCell,DecimalCell and other types of cells of GridDataBoundGrid.In any of these cells,the ability to select(i.e, highlight) text either doesn''t work or is difficult(try to highlight three and a half words).Kindly provide some solution to this. Cheers, Manohar.

Administrator [Syncfusion]
Replied On September 20, 2005 08:06 AM

Hi Manohar, For RichText CellType, Grid uses WindowsForm''s RichTextBox internally. By default, RichTextBox.AutoWordSelection is set to true. You set that to false. Here is the code that works in the shipping sample - Windows\Grid.Windows\samples\CellTypes\RichTextCells. GridRichTextBoxCellRenderer renderer = (GridRichTextBoxCellRenderer) this.gridControl1.CellRenderers["RichText"]; GridRichTextEntryPanel panel = renderer.DropDownContainer.Controls[0] as GridRichTextEntryPanel; panel.RichTextBox.AutoWordSelection = false; Best regards, Jay N

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

;