Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8500521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:58:05+00:00 2026-06-11T00:58:05+00:00

I have a GridView with three buttons under it. I am trying to figure

  • 0

I have a GridView with three buttons under it. I am trying to figure out how to align them so the first button’s left edge is aligned with the left edge of the GridView, the second button is centered under the GridView, and the third button’s right edge is aligned with the right edge of the GridView. If the GridView’s width expands, I am wanting the buttons to stay aligned with the GridView. Right now, the buttons are “clumped” together horizontally, aligned to the left.
Here is a rough sketch of what I’m wanting.

.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:58:07+00:00Added an answer on June 11, 2026 at 12:58 am

    How about put the Gridview and Buttons in seperate rows of a Table?

    Here is an example with inline styles:

    <table>
        <tr>
            <td colspan="3" style="width: 100%">
                <asp:GridView ID="GridView1" ShowHeader="false">
                     ...
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width: 33%; text-align: left">
                <asp:Button ID="button1" runat="server" />
            </td>
            <td style="width: 33%; text-align: center">
                <asp:Button ID="button2" runat="server" />
            </td>
             <td style="width: 33%; text-right">
                <asp:Button ID="button3" runat="server" />
            </td>
        </tr>
    </table>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a GridView with three Button columns that are set up with images.
I have an ASP.NET GridView that has four columns. The first three are typical
I have a gridview and I have a button on it.I want, if the
I have a delete button in a gridview. For those not familiar with asp.net
I have a GridView that pulls data out of the database and populates its
The problem I am having is in a gridview I have multiple buttons and
I have a GridView with dynamically created image buttons that should fire command events
I have two forms.. form1 and form2 in form1 i have gridview with three
I have gridview which has columns of data and a button below the Apply
I have a Datagrid which looks as under <asp:GridView ID=dgTask runat=server Width=100% AutoGenerateColumns=False> <Columns>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.