Hello,
I need to extend row details but only for some rows in my radgridview : those with gray forecolor. I don't know how to add row details, and I'm using vb.net.
Hope that someone can help me, thanks !


In winforms, this attribute is shown in gray.
How to see it in a radpropertygrid?

System.InvalidOperationExceptionvar culture = CultureInfo.GetCultureInfo("en-AU");var checker = (DocumentSpellChecker)radRichTextEditor1.SpellChecker;if (!(checker.GetDictionary(culture) is AustralianDictionary)){ checker.AddDictionary(AustralianDictionary.Instance, culture);}radRichTextEditor1.SpellChecker.SpellCheckingCulture = culture;public class CustomDocumentSpellChecker : DocumentSpellChecker{ // Singleton pattern: http://msdn.microsoft.com/en-au/library/ff650316.aspx // Thread-safe thanks to the CLR private static readonly CustomDocumentSpellChecker _instance = new CustomDocumentSpellChecker(); private CustomDocumentSpellChecker() { var culture = CultureInfo.GetCultureInfo("en-AU"); AddDictionary(AustralianDictionary.Instance, culture); SpellCheckingCulture = culture; } public static CustomDocumentSpellChecker Instance { get { return _instance; } }}radRichTextEditor1.SpellChecker = CustomDocumentSpellChecker.Instance;Hello all
i have the problem about custom filtering ...
why custom filtering in gridview is very slowly
this the code i write
Imports System.Data.SqlClient
Public Class Form1
Dim conn As SqlConnection
Dim da As SqlDataAdapter
Dim ds As DataSet
Dim str As String = "Server=CHIP-PC;Initial Catalog=Kebun;uid=sa;pwd=351980"
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Using conn As New SqlConnection(str)
conn.Open()
da = New SqlDataAdapter("SELECT * FROM MstPekerja", conn)
ds = New DataSet
ds.Clear()
da.Fill(ds, "TrPekerja")
RadGridView1.DataSource = (ds.Tables("TrPekerja"))
conn.Close()
End Using
End Sub
Private Sub RadGridview1_CustomFiltering(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCustomFilteringEventArgs) Handles RadGridView1.CustomFiltering
If String.IsNullOrEmpty(Me.RadTextBox1.Text) Then
e.Visible = True
For i As Integer = 0 To Me.RadGridView1.ColumnCount - 1
e.Row.Cells(i).Style.Reset()
e.Row.InvalidateRow()
Next i
Return
End If
e.Visible = False
For i As Integer = 0 To Me.RadGridView1.ColumnCount - 1
Dim text As String = e.Row.Cells(i).Value.ToString()
If text.IndexOf(Me.RadTextBox1.Text, 0, StringComparison.InvariantCultureIgnoreCase) >= 0 Then
e.Visible = True
e.Row.Cells(i).Style.CustomizeFill = True
e.Row.Cells(i).Style.DrawFill = True
e.Row.Cells(i).Style.BackColor = Color.FromArgb(201, 252, 254)
Else
e.Row.Cells(i).Style.Reset()
e.Row.InvalidateRow()
End If
Next i
End Sub
Private Sub RadTextBox1_TextChanged(sender As System.Object, e As System.EventArgs) Handles RadTextBox1.TextChanged
Me.RadGridView1.MasterTemplate.Refresh()
End Sub
End Class
i just set enablecustomfiltering = true
enable filtering = true
the data only 726 rows ....
Thanks n best regards
Hengky

How do you specify a default value for a Color property using the [DefaultValue()] attribute?
if I write
[DefaultValue(typeof(Color), "Gray")]
[DefaultValue(typeof(Color), "0x808080")]
it does not work correctly

private void detailsPropertyGrid_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e) { switch (e.Item.Name) { case "Details": PropertyGridTextBoxEditor editor = e.Editor as PropertyGridTextBoxEditor; editor.Multiline = true; break; default: return; } }Thanks,
Chris.


Hello.
I am quite new to UI programming (and Telerik components) and thus have a question about double clicking. The problem is as follows.
We have a need to start some handling when user double clicks on an item. This should happen from either side of the gantt view, from the grid or timeline side.
My current implementation is such that I subscribe for radGanttView DoubleClick-event. In the event handler I check from radGanttView SelectedItem-property which item was double clicked. The problem here is that if the item is already selected, user can double click anywhere and my code will be run.
So the question is as follows. Is there a way to receive a double click only if user clicks on the UI element of the task? It seems that GanttGraphicalViewBaseTaskElement has a doubleclick-event but I don't know how to get my hands on such object. Or should this be done somehow differently?
Thank you!
br.Pasi
Using:
Progress 11.6
Telerik UI for Winforms R2 2017
Hi
I am converting my application from FlashBuilder to a c# Winform and I would like as shown in the attached gif. Essentially I have an image for the non-selected , one for the hover and one for the selection (a different colour depending on what level was selected).
thanks in advance.
