Placing controls after a gridview

  • Thread starter Thread starter xbound
  • Start date Start date
X

xbound

I'm using VS 2005 and having problems aligning controls AFTER a gridview.

Controls placed above the gridview all go where I want them to go, but not
those below. For example, a button I want it to appear below the gridview
appears to the gridview's right instead, whether it's in the design view or
when the web page is run. I want this button OUTSIDE and BELOW the
gridview.

Maybe it's just a simple thing I miss or something about the gridview I did
not grasp. Any insight or workaround appreciated.
 
I'm using VS 2005 and having problems aligning controls AFTER a gridview.

Controls placed above the gridview all go where I want them to go, but not
those below.   For example, a button I want it to appear below the gridview
appears to the gridview's right instead, whether it's in the design view or
when the web page is run.   I want this button OUTSIDE and BELOW the
gridview.

Maybe it's just a simple thing I miss or something about the gridview I did
not grasp.    Any insight or workaround appreciated.

gridview
<br />
button
 
Solved.

<asp:gridview HorizontalAlign="left" ..................... >

After taking out that HorizonAlign attribute, the controls that come after
the gridview are lodged in their intended positions.

Thanks for your suggestions.
 
Solved.

<asp:gridview  HorizontalAlign="left" ..................... >

After taking out that HorizonAlign attribute,  the controls that come after
the gridview are lodged in their intended positions.

Thanks for your suggestions.

Well, normally you don't need to set this, but I think it depends on
your layout. Glad, that it works now.

Cheers!
 
Back
Top