• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

VB.net DataGridView independent of TabControl

Hi

On my VB.net task pane I had just a DataGridView, then realised I needed more space so introduced a TabControl
I want the DataGridView to only appear on page 1 of the TabControl but it seems to be independent of it (appearing on all pages)
How do I attach the the DataGridView to the TabControl
0
Murray Brown
Asked:
Murray Brown
2 Solutions
 
Ramachandar NCommented:
You may not be able to attach it but you can place it in the Tabs, load the data and make it visible whenever you want. I have done a similiar app like this long back.

But you can do this way by enabling/disabling it in the "TabPageSelected" event.
0
 
sarabhaiCommented:
Yes, you need to put the DataGridView inside the TabControl page.
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks for the help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now