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

  • Home
  • SEARCH
  • 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 235821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:17:45+00:00 2026-05-11T20:17:45+00:00

<asp:UpdatePanel runat=server> <ContentTemplate> <div style=padding: 0px 45px 0px 45px> <asp:FormView ID=fvAccounts runat=server DataKeyNames=AccountId DataSourceID=edsAccounts

  • 0
<asp:UpdatePanel runat="server">
    <ContentTemplate>
        <div style="padding: 0px 45px 0px 45px">
            <asp:FormView ID="fvAccounts" runat="server" DataKeyNames="AccountId" DataSourceID="edsAccounts" EnableModelValidation="True" Width="100%">
                <EditItemTemplate>
<%-- continuing --%>

I want the FormView to be 45px (hippos :P) away from the page’s width, so I wrapped it with a div setting its padding to 45 for right and left, but it didn’t work; the right side goes out the div. I want it to be minimized within the div.

Note the black line in the image, it shows where the edge of the parent is, I want the external right side to be 45px away from it to inside.
example

  • 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-05-11T20:17:45+00:00Added an answer on May 11, 2026 at 8:17 pm

    Well I solved my issue in quite a different way.

    I set the FormView’s Width to 80% and I wrapped it with a center Html tag.

    <center>
        <FormView Width="80%" runat="server" />
    </center>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've the following code: <asp:UpdatePanel runat=server ID=upanel1 > <ContentTemplate > <div id=west class=x-hide-display style=background-color:
<asp:UpdatePanel runat=server ID=udp_RemitEditor UpdateMode=conditional OnPreRender=LoadParameters> <ContentTemplate> <div id=div_RemitEditor style=width:225px; display: none;> <asp:UpdatePanel ID=upnl_RemitEditor runat=server
I have an ASP.NET website containing the following <asp:UpdatePanel ID=UpdatePanel1 runat=server > <ContentTemplate> <asp:Label
<asp:UpdatePanel ID=UpdatePanel1 UpdateMode=Conditional ChildrenAsTriggers=true runat=server> <ContentTemplate> <asp:ImageButton ID=imagebutton1 runat=server ImageUrl=~/image.jpg Width=125 Height=125 onclick=imagebutton1_Click />
<asp:ScriptManagerProxy ID=ScriptManagerProxy1 runat=server> </asp:ScriptManagerProxy> <asp:UpdatePanel ID=upSchedule runat=server UpdateMode=Conditional ChildrenAsTriggers=false> <ContentTemplate> <script type=text/javascript> function afterRender(data)
I develop custom file uploader. <asp:FileUpload runat=server ID=fuUpload /> <asp:UpdatePanel runat=server > <ContentTemplate> <asp:Button
master1.master Html <div id=message style=direction: rtl; display: none> </div> <form id=form1 runat=server style=padding: 0px;>
I have a asp:UpdatePanel with a asp:Button and a asp:TextBox : <asp:UpdatePanel ID=UpdatePanel1 runat=server>
I am having a nested update panel something like this <asp:UpdatePanel ID=DetailsUpdatePanel runat=server Visible=false
I have the following ASPX code: <asp:ScriptManager ID=ScriptManager1 runat=server /> <asp:UpdatePanel runat=server ID=UpdatePanel UpdateMode=Conditional>

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.