View Full Version : [CLOSED] displayfield autoscroll not working

Mar 13, 2014, 6:34 AM

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)



<!DOCTYPE html>

<head id="Head" runat="server">

<form id="Form" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" Locale="de-CH" />

<ext:Panel runat="server" ID="pnl" Width="100" Height="100">
<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>


Thank you very much.

Mar 13, 2014, 11:32 AM
Hi @tMp,

A DisplayField doesn't have the AutoScroll option.

You can set it for a Panel.

Mar 13, 2014, 1:14 PM
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.

Mar 14, 2014, 4:13 AM
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.