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

Regd---Highlight Text

Thread ID:





34935 Sep 20,2005 07:29 AM UTC Sep 20,2005 12:06 PM UTC WinForms 1
Tags: GridControl
Asked On September 20, 2005 07:29 AM UTC

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 12:06 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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