[CLOSED] Textfield Fieldlabel

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Textfield Fieldlabel

    Hey,
    If I specify field label for textfield, and also specify the width... the width is never applied... If I remove field label, width is what I set.

    Also Label Align = Right does not work.

     <ext:TextField ID="TextField1" runat="server" Width="200">
        </ext:TextField>
        <br /><br />
        <ext:TextField ID="TextField2" runat="server" Width="200" FieldLabel="Width changes to default on fieldlabel mention" LabelAlign="Right">
        </ext:TextField>
    Thanks,
  2. #2

    RE: [CLOSED] Textfield Fieldlabel

    Hi,

    1. Width issue is fixed. Please note that if you set width 400 then real width of the text field will be approx. 290px because label occupy fixed width (by default 100px, LabelWidth property)


    2. LabelAlign="Right" works fine for me. Please ensure that you properly understood right alignt for the label. If LabelAlign="Right" then label still placed the left of the label but right aligned inside label's container (just set short label and big LabelWidth and you will see the difference)


    LabelAlign="Right"
    ---------Label:-|||||||TextField||||||||||


    LabelAlign="Left"
    Labe:-----------|||||||TextField||||||||||
  3. #3

    RE: [CLOSED] Textfield Fieldlabel

    I thought it would be to the right of component... :)

    Anyway to put it to right side of component?
  4. #4

    RE: [CLOSED] Textfield Fieldlabel

    Problem in Row Layout... If label aligned to left, the textbox shifts to next line center. Run the following example...
    <ext:Panel runat="server" Width="500" Height="300"><Items>
      <ext:RowLayout ID="RowLayout1" runat="server" Margin="4">
       <Rows>
       <ext:LayoutRow RowHeight="0.5">
        <ext:TextField ID="TextField1" runat="server" Width="200" FieldLabel="Label on Top" LabelAlign="Top">
        </ext:TextField></ext:LayoutRow>
        <ext:LayoutRow RowHeight="0.5">
        <ext:TextField ID="TextField2" runat="server" Width="200" FieldLabel="Left not Working... Still on top"  LabelAlign="Left">
        </ext:TextField></ext:LayoutRow></Rows></ext:RowLayout></Items></ext:Panel>
  5. #5

    RE: [CLOSED] Textfield Fieldlabel

    Hi,

    Fixed. Please update from SVN
  6. #6

    RE: [CLOSED] Textfield Fieldlabel

    Again problem.... This time with LabelAlign=Top

     <ext:Slider  ID="Slider1" runat="server" MaxValue="7" MinValue="0" Increment="1" 
       Width="300" FieldLabel="Test for Field Label " LabelAlign="Top">
       <Plugins>
       <ext:SliderTip ID="SliderTip1" runat="server">
       <GetText Fn="function (slider) {return String.format('{0} Days', slider.getValue());}" />
       </ext:SliderTip>
       </Plugins>
           
       </ext:Slider>
       <ext:TextField runat="server" LabelAlign="Top" FieldLabel="Test for Field Label"></ext:TextField>

  7. #7

    RE: [CLOSED] Textfield Fieldlabel

    Hi,

    Fixed. I tested several test cases and it seems all works fine now. Please update from SVN
  8. #8

    RE: [CLOSED] Textfield Fieldlabel

    Thank u sir!...

    Can u plzz provide me with a sample of AfterEdit and validateedit in GridPanel.... I tried yesterday several times... It looked like the listener never fires... May be if u have something ready to show me, I will try tht...

    I put a simple msgbox show after edit... Does'nt fire...
  9. #9

    RE: [CLOSED] Textfield Fieldlabel

    Hi,

    AfterEdit fires after editing the cell. For example, see the following example in the SVN
    Ext.Net.Examples\Examples\Form\ComboBox\Linked_Com bos_In_Grid\

    Can you demonstrate your example with AfterEdit issue?
  10. #10

    RE: [CLOSED] Textfield Fieldlabel

    Hi Amit,

    Please start a new thread if you change the topic. Your original question has been resolved.


    Thread is marked as [CLOSED]. Please feel free to post any further comments regarding the original issue and the thread will be re-opened.


    Geoffrey McGill
    Founder
Page 1 of 2 12 LastLast

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. [CLOSED] TextField and FieldLabel
    By majunior in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 10, 2011, 2:30 PM
  3. FieldLabel Textfield without semicolumn
    By GijsZePa in forum 1.x Help
    Replies: 6
    Last Post: Mar 16, 2010, 11:52 AM
  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

Posting Permissions