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

RoundedCornersExtender Causes Panel to have Scroll bars

$
0
0

I have a RoundedCornersExtender on my page and in IE8 causes the panel to reduce in size and makes it scrollable. Why is there just so many issues these days with the different browsers and even the same browser, just different versions. I though that there was suppose to be a standards comittee out there. And then I also get a 'Bottom' could not be set on property 'Corners' error message.

<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="TestForm.Master.vb" Inherits="Test_Form.Site1" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"><title></title><asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder><style type="text/css">
        /* pushes the page to the full capacity of the viewing area */
        html
        {
            height:100%;
        }
        body
        {
            height:100%; margin:0; padding:0;
        }
        /* prepares the background image to full capacity of the viewing area */
        #bg
        {
            position:fixed; top:0; left:0; width:100%; height:100%;
        }
        /* places the content ontop of the background image */
        #content
        {
            position:relative; z-index:1;
        }</style><!--[if IE 6]><style type="text/css">
        /* some css fixes for IE browsers */
        html
        {
            overflow-y:hidden;
        }
        body
        {
            overflow-y:auto;
        }
        #bg
        {
            position:absolute; z-index:-1;
        }
        #content
        {
            position:static;
        }
        .style1
        {
            width: 180px;
        }</style><![endif]--><script type="text/javascript">

        var sessionTimeoutWarning = "50";
        var sessionTimeout = "<%# Session.Timeout %>";

        var sTimeout = parseInt(sessionTimeoutWarning) * 60 * 1000;
        setTimeout('SessionWarning()', sTimeout);

        function SessionWarning() {
            var message = "Your session has been inactive 50 minutes! Please Save any changes before the session expires";
            alert(message);
        }

        function SaveAlert(event) {
            var ok = confirm('Any unsaved changes on the current page will be discarded.');
        }

    </script></head><body><form id="form1" runat="server"><div id="bg"><asp:Image ID="Image3" runat="server" ImageUrl="Images/blue_background.jpg"
            Height="100%" Width="100%" BackColor="#123962" /></div><div id="content" align="center"
        style="background-image: url('/C:/Documents and Settings/RIGB571/My Documents/Visual Studio 2008/Projects/Test Form/Test Form/Images/Hazy.png')"><asp:ToolkitScriptManager ID="ScriptManager1" runat="server"></asp:ToolkitScriptManager><asp:Panel ID="Panel1" runat="server" Width="95%" Height="95%"
            BackImageUrl="~/Images/Hazy.png" Wrap="False"><table width="100%" cellspacing="0"><tr><td bgcolor="#123962" align="left" rowspan="2"><img alt="" src="Images/ILSealSlice.jpg" style="width: 214px; height: 120px"
                            height="100%" /></td><td bgcolor="#123962" align="left" colspan="2"><img alt="" src="Images/IL%20Gaming%20Board%20Logo.jpg"
                            style="width: 436px; height: 57px;" /></td></tr><tr><td bgcolor="#123962" style="text-align: left"><asp:Label ID="Label1" runat="server" ForeColor="Yellow" Text="Welcome:"></asp:Label></td><td bgcolor="#123962" style="text-align: right"><asp:UpdatePanel ID="upDynamicClock" runat="server"><ContentTemplate><asp:Label ID="lblDynamicClock" runat="server" ForeColor="Yellow"></asp:Label>&nbsp;<asp:Timer ID="tmrRefresh" runat="server" Interval="1000"
                                    OnTick="tmrRefresh_Tick"></asp:Timer></ContentTemplate></asp:UpdatePanel></td></tr><tr><td align="left" colspan="3" style="text-align: center"><asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"></asp:ContentPlaceHolder></td></tr></table><asp:Panel ID="Panel2" runat="server" BackColor="#CCCCCC" Width="100%"><asp:Label ID="Label2" runat="server" Text="Copyright © 2013 Illinois Gaming Board. All Rights Reserved"
                style="text-align: left" Font-Size="X-Small" ForeColor="#999999"></asp:Label></asp:Panel><asp:RoundedCornersExtender ID="Panel2_RoundedCornersExtender" runat="server"
                Corners="Bottom" Enabled="True" Radius="10" TargetControlID="Panel2"></asp:RoundedCornersExtender></asp:Panel><asp:RoundedCornersExtender ID="Panel1_RoundedCornersExtender" runat="server"
            Corners="Bottom" Enabled="True" Radius="10" TargetControlID="Panel1"></asp:RoundedCornersExtender></div></form></body></html>

What am I doing wrong here?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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