or
Public Sub AddButton() Dim buttonElement As New RadButtonElement("...") AddHandler buttonElement.Click, AddressOf buttonElement_Click Dim textBoxItem As RadTextBoxItem = Me.RadTextBox1.TextBoxElement.TextBoxItem textBoxItem.Alignment = ContentAlignment.MiddleLeft Me.RadTextBox1.TextBoxElement.Children.Remove(textBoxItem) Dim dockLayoutPanel As New DockLayoutPanel() dockLayoutPanel.SetDock(textBoxItem, Telerik.WinControls.Layouts.Dock.Left) dockLayoutPanel.SetDock(buttonElement, Telerik.WinControls.Layouts.Dock.Right) dockLayoutPanel.Children.Add(buttonElement) dockLayoutPanel.Children.Add(textBoxItem) Me.RadTextBox1.TextBoxElement.Children.Add(dockLayoutPanel) End Sub
private void PropertyGrid_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e){ Debug.Assert(e.Item is PropertyGridItem); var __e_Item = e.Item as PropertyGridItem; if (__e_Item.Name.Equals(DataSourcePropertyGridNames.Name, StringComparison.CurrentCultureIgnoreCase)) { Debug.Assert(e.Editor is BaseTextBoxEditor); var __e_Editor = e.Editor as BaseTextBoxEditor; //TODO: Implement this and examine sender (I think). __e_Editor.Validating += PropertyGrid_Name_Editor_Validating; }}
Hi Telerik Team,
I need help with the tree view (using Q2 2012 SP1)
When i am dragging one or more rows from the radgridview to the radtreeview, how can i force the treeview to expand and highlight the treenode that i am hovering (dragging) over?. And how can I show feedback in the treeview of the target drop position, similar to the dotted line used when dragging in the treeview itself) ?
I am using the RadDragDropService. (radGridView.GridViewElement.GetService<RadDragDropService>)
Thank you in advance.
Best regards,
Henri