Quantcast
Viewing latest article 1
Browse Latest Browse All 12

Re: setting the height of a ContentPlaceHolder

Amanda Wang - MSFT

Hi,

Sorry, we did not repro your problem, below is our test master page, the scroll bar work fine at the render time:

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

<!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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
                <div style="width:60%; height:100%; overflow:auto">
                <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder>
                </div>   
    </div>
    </form>
</body>
</html>

You can try to create a blank master page and create a new content page refer it, try to see whether it is working ok.

Hope it helps.

Thanks Amanda ... Image may be NSFW.
Clik here to view.
Laughing

Helped A Lot ...


Viewing latest article 1
Browse Latest Browse All 12

Trending Articles



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