My GridView is quite long and goes off the screen. I want the detailsview to position itself alongside where I click the "Select" button - not at the top or bottom of the gridview - perhaps center screen?

Using VB not C# please.

Any ideas what to put as the "top" parameter?

Recommended Answers

All 2 Replies

>GridView/DetailsView Position on Screen

Two ways:

1. Place/Add that control into another container control that has been positioned at absolute co-ordinates.
2. Use modal dialog to show the content of that control.

If absolute coordinates are set then the page jumps to that point, I don't want it to jump I want it to stay still and just turn on the details view.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.