Please help us by completing this surveyGo to survey
Although this feature is supported in sensenet 7, it is built on the old Web Forms technology that you should not use for new projects. We encourage you to use a more modern UI solution using our client-side packages.
With ShortText field control textual data can be displayed or edited up to 450 characters. (Longer text will be truncated on save!) Ideal for storing simple descriptions, but also can contain complex HTML formatted text to display custom visualized data.
The ShortText Field Control is a simple Field Control that renders a single TextBox. In Browse mode simply the value of the Field is rendered.
<%@ Language="C#" %> <%# DataBinder.Eval(Container, "Data") %>
<%@ Language="C#" %> <asp:TextBox ID="InnerShortText" CssClass="sn-ctrl sn-ctrl-text" runat="server"></asp:TextBox>
<sn:ShortText ID="ShortText1" runat="server" FieldName="Data1" />
<sn:ShortText ID="ShortText2" runat="server" FieldName="Data1"> <EditTemplate> <asp:TextBox ID="InnerShortText" runat="server"></asp:TextBox> </EditTemplate> </sn:ShortText>
Is something missing? See something that needs fixing? Propose a change here.