This is a migrated thread and some comments may be shown as answers.

Child Form underneath GridView

1 Answer 20 Views
GridView
This is a migrated thread and some comments may be shown as answers.
JustinWong
Top achievements
Rank 1
JustinWong asked on 01 Jan 2009, 11:11 PM
Hi:

I'm totally new to Rad WinForm controls. 2 hours into it, I have a question:

I have a GridView on an RadMDI parent form.  There's also a button. Clicking the button calss a child form:

 

Dim child1 As New Form()

 

child1 = FrmStdEdit    'where FrmStdEdit is the child form I designed.

 

Dim ChildSize As New System.Drawing.Size(580, 200)

 

child1.Size = ChildSize

child1.Text =

"JTK Form"

 

child1.MdiParent =

Me

 

child1.TopMost =

True

 

child1.Show()

When the child form opens, however, it does so underneath the gridview - even though TopMost is set to true.  Is there a way to change that?

Justin

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 05 Jan 2009, 03:43 PM
Hello JustinWong,

Thank you for the question.

The TopMost property governs whether a form will be always on top of the other forms. Please notice that this is valid for a regular top level form, but not for a MDI child form. The behavior is not specific to RadControls, but it concerns .NET Windows Forms. So, if you want to show the form on top of RadGridView, this form should not be a MDI child.

I hope this helps. If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
JustinWong
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or