[CLOSED] How to remove/hide the drop down list of ftimes in the TimeField control

  1. #1

    [CLOSED] How to remove/hide the drop down list of ftimes in the TimeField control

    Hello,
    I am currently using the TimeField control to ONLY allow users to enter a time value. Can you please tell me what I need to do to hide or remove the dropdown list of times in the TimeField control?

    I tried the following properties but neither one worked.
     DisableKeyFilter="true" FireSelectOnLoad="false"
    Below is my setup for the TimeField control:
     <ext:TimeField ID="tfWrapEndTime" runat="server" MinTime="00:00" MaxTime="23:59" 
                                                                                                Increment="15" Cls="RunDetail" AllowBlank="false" TabIndex="14" SelectedTime="00:01" Width="50"
                                                                                                Format="H:mm" Editable="true" ForceSelection = "false" />
    Thank you in advance for your help.
    Last edited by Daniil; Jun 11, 2012 at 7:42 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please try to set up
    <Listeners>
        <BeforeQuery Handler="return false;" />
    </Listeners>
    for the TimeField.
  3. #3
    Thank you. It removed the dropdown but the down arrow is still visible. Is there anyway to remove or hide the down arrow? It is very misleading for the users.

    Thanks!


    Quote Originally Posted by Daniil View Post
    Hi,

    Please try to set up
    <Listeners>
        <BeforeQuery Handler="return false;" />
    </Listeners>
    for the TimeField.
  4. #4
    Sure, please set up
    HideTrigger="true"
    for the TimeField.
  5. #5
    That worked! Thank you very much!!

    Quote Originally Posted by Daniil View Post
    Sure, please set up
    HideTrigger="true"
    for the TimeField.

Similar Threads

  1. How to use drop down list in ASP.Net Web Application
    By ali_raza159 in forum 2.x Help
    Replies: 1
    Last Post: Jun 18, 2012, 11:10 PM
  2. [CLOSED] Format Date in Custom Drop Down List
    By mbb in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 29, 2011, 1:12 PM
  3. [CLOSED] Define selected Position of dropdown-list in TimeField
    By macap in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 29, 2010, 5:18 AM
  4. [CLOSED] [1.0] Custom Drop Down List Example
    By Ben in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 27, 2010, 11:20 AM
  5. [CLOSED] Drop down list under a ComboBox is not the correct size...
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 02, 2009, 2:50 PM

Posting Permissions