Hi there,
I'm pretty new with Telerik and have a question. I have a RadDock1 on a form. On that form there is also a button. Every time the users clicks this button I want to create a new tab on RadDock1 filled (maximized) with a (win)Form (named "frmProject").
I've created a sub "AddPage":
The first time the user clicks the button a new tab is added with the form filled on it. But the second time the user clicks the button only a tab is added. I can't see the form.
Can you please tell me what I am doing wrong?
Kind regards,
Ronald
I'm pretty new with Telerik and have a question. I have a RadDock1 on a form. On that form there is also a button. Every time the users clicks this button I want to create a new tab on RadDock1 filled (maximized) with a (win)Form (named "frmProject").
I've created a sub "AddPage":
Private Sub RadButtonElement1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButtonElement1.Click |
AddPage(frmProject, "Project") |
End Sub |
Private Sub AddPage(ByVal f As Form, ByVal strPage As String) |
RadDock1.DockControl(f, DockPosition.Fill, DockType.Document) |
End Sub |
The first time the user clicks the button a new tab is added with the form filled on it. But the second time the user clicks the button only a tab is added. I can't see the form.
Can you please tell me what I am doing wrong?
Kind regards,
Ronald