[CLOSED] TextField and FieldLabel

  1. #1

    [CLOSED] TextField and FieldLabel

    I'm using the control ext: TextField
    Would that be right-aligned FieldLabel
    We also would like to stay IndicatorText FieldLabel on left.
    As shown in the picture attached.
    Is it possible?
    Last edited by Daniil; Mar 15, 2011 at 7:46 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Indicators doesn't support custom aligning.

    I can suggest something like this:

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!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>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:Container runat="server" Layout="FormLayout" HideLabels="true">
            <Items>
                <ext:CompositeField runat="server">
                    <Items>
                        <ext:DisplayField runat="server" IndicatorIcon="Accept" Text="" />
                        <ext:Container 
                            runat="server" 
                            Layout="FormLayout" 
                            LabelAlign="Right" 
                            LabelWidth="70">
                            <Items>
                                <ext:TextField runat="server" FieldLabel="TextField" />
                            </Items>
                        </ext:Container>
                    </Items>
                </ext:CompositeField>
            </Items>
        </ext:Container>
        </form>
    </body>
    </html>
    Last edited by Daniil; Oct 20, 2011 at 2:32 PM.

Similar Threads

  1. [CLOSED] TextField.FieldLabel is not changed in Code Behind
    By supera in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jan 24, 2012, 3:28 PM
  2. FieldLabel Textfield without semicolumn
    By GijsZePa in forum 1.x Help
    Replies: 6
    Last Post: Mar 16, 2010, 11:52 AM
  3. [CLOSED] Textfield Fieldlabel
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Dec 02, 2009, 5:45 PM
  4. Replies: 1
    Last Post: Nov 06, 2009, 8:43 PM
  5. [CLOSED] Problems with FieldLabel in TextField.
    By flaviodamaia in forum 1.x Help
    Replies: 8
    Last Post: Sep 18, 2008, 2:41 PM

Tags for this Thread

Posting Permissions