Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Updatepanel height displays differently from what shows in design mode

$
0
0

I'm using Visual Studio 2015 with SQL Server 2014, VB.

I have several updatepanels stacked one right above the other.  In design mode they show the height as 22px but when the program executes they appear to be about twice that height.  Does anybody have any ideas what can cause this to happen and how I can fix it?

A typical updatepanel code is shown below (note: in the code it shows the height as 29px, I don't understand this difference either):

<asp:UpdatePanel ID="UpdatePanel1" runat="server" style="width:750px;" UpdateMode="Conditional" ChildrenAsTriggers="false"><ContentTemplate><fieldset style="width:750px;"><asp:linkButton ID="Button1" runat="server" Text="Export" OnClick="Button1_Click" Style="width: 56px" />&nbsp;        <asp:Label ID="Label1" runat="server" Text="Capacitors"></asp:Label>&nbsp;<div style="display: inline-block"><asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1"><ProgressTemplate><script type="text/javascript">
                                    document.write("<div class='UpdateProgressBackground'></div>");</script><span class="UpdateProgressContent"
                                    style="background-color: #FFFFFF; font-weight: bold; left: 572px; height: 29px;">Capacitor export in process...<asp:Image ID="CapWaitCap" runat="server" ImageUrl="~/Images/progress.gif" /></span></ProgressTemplate></asp:UpdateProgress></div></fieldset></ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click"/></Triggers></asp:UpdatePanel>

Thanks!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>