Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have master page where I have one contentplace holder for child pages. This contentplace holder is in a Panel which is scroll bar enabled and the form is set as no scroll bar.
Now, I have a child page and in that whole content UI is scrolling (obviously). But I want to set this area as both fixed and scrolling. Like this is what I have done in child page:
XML
<asp:Content ID="MainChildContent" ContentPlaceHolderID="ContentPlaceHolder3"
    runat="server">
     <asp:Panel ID="Panel1" runat="server" ScrollBars="None">
<table style="width: 100%">
                <tr>
                    <td align="center" nowrap="nowrap" style="border: thin dotted #FF00FF">
                        <asp:Label ID="lblStatusMsg" runat="server" ForeColor="#000066" BorderStyle="None"
                            Font-Names="Andalus" Font-Size="X-Small"></asp:Label>
                    </td>
                </tr>
</table>
</asp:Panel>

 <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto">
                <tr>
                    <td align="center" nowrap="nowrap" style="border: thin dotted #FF00FF">
                        <asp:Label ID="lblMsg" runat="server" ForeColor="#000066" BorderStyle="None"
                            Font-Names="Andalus" Font-Size="X-Small"></asp:Label>
                    </td>
                </tr>

</asp:Panel>
</asp:Content>

But this is not working for me. How can I achive this?
Posted
Updated 17-Feb-11 18:50pm
v2
Comments
Sandeep Mewara 18-Feb-11 0:51am    
The HTML tag that you have shared looks ok.

You have shared ContentPlaceholder that has 2 panels. No child page.
Sreenath Gv 18-Feb-11 0:52am    
this is child page.

1 solution

This[^] article might help you.
 
Share this answer
 
Comments
Sreenath Gv 18-Feb-11 1:56am    
I am not able to open this.
[no name] 18-Feb-11 3:27am    
It is opening here.
Sreenath Gv 18-Feb-11 3:30am    
you got to be kidding...that is the query which I have posted.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900