Click here to Skip to main content
14,934,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am showed some info to end user in model popup extender panel... I have used Vertical Scroll bar in a panel becoz content of the panel is too length. Panel and its scroll bar are fine in Google chrome browser.. But in Firefox vertical bar not in panel. I cant scroll down in panel and i cant view more info..... How to solve this problem?

<ajax:modalpopupextender ID="AllInfoExtender" BehaviorID="AllInfoExtender" runat="server" PopupControlID="AllInfoPanel" TargetControlID="Morelbl" CancelControlID="Closeimg" BackgroundCssClass="modalBackground">

<asp:Panel ID="AllInfoPanel" runat="server" Width="750px" Height="95%"
BackColor="#FFFFFF" style="border-radius:10px; ">

cellpadding="3" cellspacing="3" >

Read This.. <asp:Image ID="Closeimg" style="cursor:pointer" ToolTip="Close" Width="25px" Height="25px" ImageUrl="~/images/Close_png.png" runat="server" />

<asp:Panel ID="Panel1" Width="100%" Height="100%" style="padding-right:10px" runat="server" ScrollBars="Vertical">

<asp:DataList ID="InfoDL" Width="100%" runat="server" CellPadding="5" OnItemDataBound="StateDL_ItemDataBound">

<asp:Label ID="lbl1" CssClass="titleText" style="padding-bottom:25px;" runat="server" ToolTip='<%# Eval("Title") %>' Text='<%# Eval("Title") %>' />

<%# Eval("Description") %>

I have bind articles in datalist .. so the height of the datalist is too length.. so only am define a panel1 have a scroll bar.. but in firefox browser i have seen first article details only ... scroll bar not working...
Updated 4-Jun-14 17:17pm
Debabrata_Das 4-Jun-14 12:44pm
Hello friend, can you please share your code? That would be helpful to understand exact problem.
SnvMohan 4-Jun-14 23:18pm
Read my updated question.... In Chrome browser its working cool...Not in firefox

1 solution

Hi, I tried a small POC with the following code and the vertical scrollbar is showing in all browsers - IE, Chrome, FireFox, etc.
<asp:Panel ID="Panel1" runat="server" Height="100px" Width="250px" ScrollBars="Vertical">
    <asp:CheckBoxList ID="CheckBoxList1" runat="server">

Can you try this and let us know your outcome?
- DD

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

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