[CLOSED] [Razor] NumberField hide spin images

  1. #1

    [CLOSED] [Razor] NumberField hide spin images

    Hi, is any method (property) to hide spin images on NumberField?

    Html.X().NumberField().ID("NumberFieldKolicinaStavka").DecimalPrecision(10).Cls("text-right")...
    I try this:

    .SpinDownEnabled(false).SpinUpEnabled(false)
    but nothing happens...

    (In old ext.net version this images don't exists.)
    Last edited by Daniil; May 10, 2012 at 2:22 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I can suggest the following way to hide the spinners.

    Example
    <ext:NumberField runat="server">
        <Listeners>
            <Render Handler="this.spinDownEl.hide();
                             this.spinUpEl.hide();" />
        </Listeners>
    </ext:NumberField>
  3. #3
    I forgot about the HideTrigger property. Please just set up it to true.
    HideTrigger="true"
  4. #4
    Thanks, it works.

Similar Threads

  1. [CLOSED] [Razor] HyperLink Text in Razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 20, 2012, 12:16 PM
  2. [CLOSED] [Razor] Add GridView to GridPanel in razor
    By boris in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 09, 2012, 4:23 PM
  3. [CLOSED] [Razor] Setup Auto load panel in razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 10:54 AM
  4. [CLOSED] SpinnerField and change/spin listener
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 10, 2011, 7:57 PM
  5. Spin Edit
    By fabiomarcos in forum 1.x Help
    Replies: 1
    Last Post: Jan 28, 2009, 11:35 AM

Tags for this Thread

Posting Permissions