or
Hi,
I am using Telerik Raddock in my application. Within the RadDock i am openeing multiple already existing form which has a button 'Cancel'(tabbed documents). On click on Cancel button, the form will close. I am using the below code.
Dim obj As New Form()
Dim hostWindow As HostWindow = RadDock1.DockControl(obj , DockPosition.Right)
RadDock1.AddDocument((hostWindow), DockPosition.Fill)
Whenever i click on Cancel button, the form is getting closed. How can i close the document in which the form is opened?
Am using ME.CLOSE() to close the form.
Similarly i also want the tabbed document to be closed.
Thanks,
Satyajeet
| Private Sub rgvLines_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles rgvLines.RowFormatting |
| Dim approval As String = Nothing |
| approval = e.RowElement.RowInfo.Cells("APPROVAL").Value.ToString() |
| If approval = "UNK" Then |
| e.RowElement.RowInfo.Cells("COMM").CellElement.Visibility = ElementVisibility.Hidden |
| End If |
| End Sub |
| For each myDate in DateList |
| Me.RadCalendar1.SelectedDates.Add(myDate ) |
| Next |