Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
410
How to get scrollbars on a webdialog
posted

Hello,

 

I'd like to get scrollbars to show up on my webdialog window.  I never see them appear.   I can't really find any documentation on how the scrollbars are supposed to work on a contentpanel, here's an example of what I tried to do:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="testwebdialog.aspx.vb" Inherits="_3000_testwebdialog" %>

<%@ Register Assembly="Infragistics35.Web.v8.2, Version=8.2.20082.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="cc1" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <cc1:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="100px"
            Width="100px" MaintainLocationOnScroll="True" Modal="True">
            <Resizer Enabled="True" MaxHeight="800" MaxWidth="800" MinHeight="50"
                MinWidth="50" />
        <ContentPane ScrollBars="Visible" ScrollLeft="10" ScrollTop="10" ToolTip="Hello...">
        <Template>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        Hello there, hello there
            <br> </br>
        </Template></ContentPane>
        </cc1:WebDialogWindow>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
        Blah blah blah </br>
    </div>
    </form>
</body>
</html>

 

  • 995
    Suggested Answer
    posted

    Hi,

    When you set Scrollbars = “Visible” you are disabling the automatic view of the scrollbars. So you need to remove this setting to see the scrollbars, have a look here for more enumeration options for setting Scrollbars property.