new to visual studio - Alignment of Grid within a panel.

I'm new to visual studio.  I have a grid within a panel.  I'm using the panel so that I can scroll the data.   I cannot get the top of the grid to align to the top of the panel.  Is appears that the little tab at the top left corner of the grid control is prevent this.

How can I align the tops of the two controls?  
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

please add your html
HLRosenbergerAuthor Commented:
At this point, I not interested in the alignment via the HTML. I want to know how to, visually, using the IDE, do the alignment
HLRosenbergerAuthor Commented:
I have the answer.   I am not displaying the Header of the grid.  Even though it's not displayed, the "empty" space is still there.   The top of my grid was indeed aligned with the top of the panel, but it looked like it was not because of the  "empty" space of the header.    I got around this by specifying a negative value for the top of the grid:

GridView.Attributes.Add("style", "position: relative; left: 0px; top: -20px;")

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.