Hi,
I am reading an RTF string from a database and displaying it in a radRichTextEditor. Many of these are multi-line instructions, including many bullet point lists. In order to format this more nicely I wrote the following snippet
private void ConfigureDocumentEditor(RadRichTextEditor editor) { var docEditor = new Telerik.WinForms.Documents.Model.RadDocumentEditor(editor.Document); editor.Document.Selection.SelectAll(); docEditor.ChangeFontSize(8); docEditor.ChangeParagraphLineSpacing(0.25); editor.Document.Selection.Clear(); editor.IsReadOnly = true; }
I also set the LayoutMode to "Flow". The problem that I'm running into is that in some instances the data in the DB is just one long string. When I set ChangeParagraphLineSpacing to a value >= 1.0 the word wrap works nicely. When ChangeParagraphLineSpacing < 1.0 it looks like the attached image. Is there any way to change the spacing so that it applies to paragraph breaks and lists but not the line spacing caused by word wrapping?
Thanks

HI,
When the data is loading directly on form load, Sorting and Filtering is functioning well. When it's through threading, sorting and filtering options not working.
VB.Net | Sql Server
Telerik Winforms
01.Dim thread_Data As Thread02.Private Sub RadFrmFupReport_Load(sender As Object, e As EventArgs) Handles Me.Load03. RadFrmFupReport.CheckForIllegalCrossThreadCalls = False04. Thread.CurrentThread.CurrentCulture = New Globalization.CultureInfo("en-US", False)05. thread_Data = New Thread(AddressOf LoadData)06. thread_Data.Start()07.End Sub08. 09.Private Sub LoadData()10. Ta_Dt_Fup.Fill(Me.DS_Genius.dt_FUP)11. Vw_FUP_GroupTableAdapter.Fill(Me.DS_Genius.vw_FUP_Group)12. radGrdFup.DataSource = DS_Genius.vw_FUP_Group13.End SubIf "LoadData" function called directly in form load event, taking 4-5 seconds to load the form. So used thread.
Please help. Thanks in advance
Arun

Hello all...
plz help me i dont know whats wrong with my code ... i tried to follow the example given but my grid can not show like the example
this the code i write :
Using conn As New OleDbConnection(str)
conn.Open()
'Fill GridDetail
daDetail = New OleDbDataAdapter("Select TrProjectDtl.*, MstDetail.NamaDetail, MstBagian.NamaBagian " &
"FROM (TrProjectDtl INNER JOIN MstBagian ON TrProjectDtl.KodeBagian = MstBagian.KodeBagian) INNER JOIN MstDetail ON TrProjectDtl.KodeDetail = MstDetail.KodeDetail " &
"WHERE KodeProject='" & GridHeader.Rows(i).Cells(0).Value.ToString() & "' ORDER BY TrProjectDtl.KodeBagian, TrProjectDtl.KodeDetail", conn)
dsDetail = New DataSet
dsDetail.Clear()
daDetail.Fill(dsDetail, "TrDetail")
daDetail.Dispose()
Me.GridDetail.TableElement.BeginUpdate()
GridDetail.DataSource = (dsDetail.Tables("TrDetail"))
GridDetail.MasterTemplate.AutoExpandGroups = True
GridDetail.MasterTemplate.EnableFiltering = True
GridDetail.ShowGroupPanel = True
GridDetail.EnableHotTracking = True
Me.GridDetail.TableElement.EndUpdate(False)
'GridDetail.TableElement.CellSpacing = -1
'GridDetail.TableElement.TableHeaderHeight = 35
'GridDetail.TableElement.GroupHeaderHeight = 30
'GridDetail.TableElement.RowHeight = 25
'Me.GridDetail.GroupDescriptors.Clear()
Me.GridDetail.GroupDescriptors.Add(New GridGroupByExpression("KodeBagian as KodeBagian format ""{0}: {1}"" Group By KodeBagian"))
'GridHasil.BestFitColumns()
conn.Close()

Hello
is there an event that is fired when the user selects the current selectedItem ?
The "SelectedIndexChanged" is fired only if the index has changed, which is normal, but I would need an event that is fired when the user selects an item in the list even if the index does not change
Thanks in advance
Pierre-Jean
Hello
I have a radpageView in BackStage ViewMode and I would like to:
1. change the color(s) of the item when the Mouse is "down" on the element (The default is a 2 color orange)
2. Increase the space between the image and the text in the Element
3. Reduce the width of the BackStage section, or have it automatically adjusted to the width of the largest element
I have tried and searched but I have been unsuccessfull
Thanks in advance
Pierre-Jean

Hi,
In Rad schedular, we are able to keep one icon in appointment. We need an option to keep multiple icons for the same appointment, screenshot mentioned below for your reference.


hi dears.
i change each ListView item by this code:
RadButtonElement buttonElement = new RadButtonElement(); public RadCheckBoxElement checkBoxElement = new RadCheckBoxElement(); StackLayoutElement stack = new StackLayoutElement(); protected override void CreateChildElements() { base.CreateChildElements(); NotifyParentOnMouseInput = true; ShouldHandleMouseInput = false; stack.Orientation = Orientation.Vertical; this.MinSize = new Size(Item_MINSIZE-10,Item_MINSIZE); buttonElement.Click += ExecuteHost; stack.Children.Add(buttonElement); checkBoxElement.Name = "radCheckBox" + _itemIndex.ToString(); stack.Children.Add(checkBoxElement); this.Children.Add(stack); Padding=new Padding(5,5,5,5); }so i want to change above checkbox state programmatically and by right mouse click. or call buttonElement click.
but how can i access custom item elements objects ???
thanks.

I have a question about auto-sized screentips.
I would like to measure the screentip before it is displayed and move its position above a control instead of beneath it. In order to move the screentip above a control, I need to know its height.
My question is how can I get a screentip's height before it is displayed? I assume I need to invoke a method. However, everything method I have tried has not worked.(ie DesiredSize)
Thanks in advance.