Hello,
I have 3 hierarchical levels in my grid. Here is the structure:
Master template
|___tab1: Details (html view)
|___tab2: Orders (standard grid)
|___tab2-1: Clients (standard grid)
|___tab3: Networks (standard grid)
I'am inspired by some posts in the forum to save and restore the expanded rows and selected rows. It works great.
I save the grid state before data refresh, and reset after data refresh. Here is the code.
Dim scrollpos As Integer = -1Dim CurrentRow As Integer = -1Dim expandedRows As New List(Of Boolean)()Dim selectedRows As New List(Of Boolean)() Private Sub SaveSeletectedAndExpanded() scrollpos = myGridView.TableElement.VScrollBar.Value If myGridView.CurrentRow IsNot Nothing Then CurrentRow = myGridView.CurrentRow.Index End If If myGridView.Rows Is Nothing Then Exit Sub End If expandedRows.Clear() selectedRows.Clear() For i = 0 To myGridView.Rows.Count - 1 expandedRows.Add(myGridView.Rows(i).IsExpanded) ' How can I remember which page tab is displayed currently? selectedRows.Add(myGridView.Rows(i).IsSelected) Next End Sub Private Sub RestoreSeletectedAndExpanded() If scrollpos <> -1 Then myGridView.TableElement.VScrollBar.Value = scrollpos End If If CurrentRow <> -1 Then myGridView.CurrentRow = myGridView.Rows(CurrentRow) End If If expandedRows IsNot Nothing Then For i = 0 To expandedRows.Count - 1 myGridView.Rows(i).IsExpanded = expandedRows(i) Next End If If selectedRows IsNot Nothing Then For i = 0 To selectedRows.Count - 1 myGridView.Rows(i).IsSelected = selectedRows(i) Next End If End Sub
But I've found that the current selected tabbed view in the expanded row is reset to default after refresh.
How can I save the current selected tabbled view index for the expanded rows ?
Thank you by advanced.

Hello, administrator
In the past, I used the DataGridView control, but now I use the RadGridView control, but I can't find the EditingControlShowing event, I need this event now,
please tell me what event should I use instead of it
Please reply me as soon as possible. Thank you

Hi,
I was testing the RichTextEditor First Look in Demos and notice that it doesn't allow us to edit any parts of the document when the same document have specific parts of text locked for edition/change.
If I open the same document in Winword I can add or change text in others parts of the document that are not locked, without Word asking me the password or remove the "restrict editing" settings.
Is there any work around to overcome this issue in RichTextEditor?
PS: I don't want leave here any external links, but if you search for "how to lock specific text in word" in google you will see examples how to lock specific parts or sections of a winword document.

Hi, this should be an easy one, how can I fix that?
private void ContextMenuOpening(object sender, TreeBoxContextMenuOpeningEventArgs e) { //The below line doesn't work: //I need to reach the control to provide the contextmenu some "context" string myContext = (sender as Control).Name; cmMarkNullMenuItem.Tag = cmResetMenuItem.Tag = myContext; cmResetMenuItem.Enabled = EditorModel.PropertiesByName[myContext].IsChanged; }

A row break in a cell in RadGridView will result in incomplete display of cell data
As shown in the picture below, the top part of the header text cannot be displayed.
Hi,
I'm currently populating chat history when a forum opens. I want to have a button that clears the chat window and gets the latest conversation. I'm not finding a way to clear the message history however. If you happen to have some direction that would be great.
Thanks for the assistance in advance.
Hi,
I tried an update to 2019.1.117 (from 2018.3.1016) with the Upgrade Wizard and after the "Upgrade Wizard Information" I'll get an "Telerik VSExtensions Error"
Here the StackTrace:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Telerik.WinControls.VSX.Wizards.UpgradeProjectWizard.GetShouldEnableHDPI()
bei Telerik.WinControls.VSX.Wizards.UpgradeProjectWizard.GetPropertyValue(String propertyName)
bei Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
bei Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
bei Telerik.WizardFramework.Wizard.GetCurrentPageData()
bei Telerik.WizardFramework.Wizard.UpdateNavigation()
bei Telerik.WizardFramework.Wizard.Page_StateChanged(Object sender, EventArgs e)
bei Telerik.WizardFramework.EventHelper.RaiseEvent(IEventRaiser eventRaiser, Object eventKey, EventArgs e)
bei Telerik.WizardFramework.ScenarioDriven.WizardPageController`1.OnStateChanged(EventArgs e)
bei Telerik.VSX.WizardFramework.Pages.DynamicPageController.Control_StateChanged(Object sender, EventArgs e)
bei Telerik.WizardEngine.Helpers.EventHelper.<>c__DisplayClass1_0.<RaiseEvent>b__0()
bei Telerik.WizardEngine.Helpers.EventHelper.CatchExceptionAndSendReport(Action action)
Does anyone got an idea what's missing?
Best regards,
BloodyFunFrog