[CLOSED] displayfield autoscroll not working

  1. #1

    [CLOSED] displayfield autoscroll not working

    Hi

    I got some displayfields with pretty long texts and I would to have the auto scroll feature but somehow it isn't working. And eventhough the displayfield is have the height of the panel it doesn't show up like that. Any ideas why? (By the way, I am on 2.4)

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
    
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                
            }
        }
    
    </script>
    
    <!DOCTYPE html>
    
    <html>
    <head id="Head" runat="server">
        <title></title>
    
    </head>
    <body>
        <form id="Form" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" Locale="de-CH" />
    
            <ext:Panel runat="server" ID="pnl" Width="100" Height="100">
                <Items>
                    <ext:DisplayField runat="server" Height="50" AutoScroll="true" Text="sdfsdfsdfsddsfsdfa dsaf daf adfds   dsaf  dfa dsf    dsafdfaf dsfadfa fdsf af dsaf ads afdsaf  dsfdfsfdssfs end of text"></ext:DisplayField>
                </Items>
            </ext:Panel>
                
        </form>
    </body>
    </html>
    Thank you very much.
    Last edited by Daniil; Mar 14, 2014 at 4:13 AM. Reason: [CLOSED]
  2. #2
    Hi @tMp,

    A DisplayField doesn't have the AutoScroll option.

    You can set it for a Panel.
  3. #3
    ah ok. I can select it though when I use autocompleted in VS ;)

    Got it now, setting autoscroll and height in the panel and everything is working fine. thank you very much.
    Last edited by tMp; Mar 13, 2014 at 4:43 PM.
  4. #4
    Quote Originally Posted by tMp View Post
    ah ok. I can select it though when I use autocompleted in VS ;)
    Sorry, it has that setting. I meant it is not supported by a DisplayField.

Similar Threads

  1. Replies: 2
    Last Post: Oct 04, 2012, 10:14 AM
  2. Replies: 5
    Last Post: Jun 19, 2012, 9:06 PM
  3. Replies: 0
    Last Post: Oct 11, 2011, 5:02 AM
  4. [1.0] Autoscroll not working anymore in Portal
    By AlexWight in forum 1.x Help
    Replies: 4
    Last Post: Apr 06, 2010, 12:11 PM
  5. Autoscroll problem
    By mmiocev in forum 1.x Help
    Replies: 0
    Last Post: Mar 13, 2009, 11:53 AM

Posting Permissions