[CLOSED] DatePicker Selections

  1. #1

    [CLOSED] DatePicker Selections

    Using a listener for Select event his works fine - however the Today button gets caught up in this too. I can't see any way of disabling this - so will look at disabling/hiding Today - from the ExtJS documentation there is this.TodayBtn.hide()
    but this doesnt work (cant find TodayBtn in the function) and I can't see any Ext.Net methods to hide the Today Button (there is TodayText which I set to blank but that still produces a button)
    Last edited by Daniil; Aug 22, 2013 at 12:56 PM. Reason: [CLOSED]
  2. #2
    Hi @ATLAS,

    This hides the Today button.
    <ext:DatePicker runat="server">
        <Listeners>
            <Render Handler="this.todayBtn.hide();" />
        </Listeners>
    </ext:DatePicker>
  3. #3
    Thanks that works perfectly -
    I am using MVC so the line I am using is
    .Listeners(l =>{
                                l.Render.Handler = "this.todayBtn.hide()";
                                ..... other handlers ...
    }
    So this can be Closed

    Quote Originally Posted by Daniil View Post
    Hi @ATLAS,

    This hides the Today button.
    <ext:DatePicker runat="server">
        <Listeners>
            <Render Handler="this.todayBtn.hide();" />
        </Listeners>
    </ext:DatePicker>
    Last edited by Daniil; Aug 22, 2013 at 12:56 PM. Reason: Please use [CODE] tags

Similar Threads

  1. [CLOSED] GridPanel Filter with Checked Selections
    By elisa in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 09, 2013, 8:02 PM
  2. [CLOSED] GridView MouseDrag Selections
    By odyssey in forum 2.x Legacy Premium Help
    Replies: 26
    Last Post: Feb 01, 2013, 6:35 AM
  3. [CLOSED] Auto row selections after directevnt
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 14, 2011, 9:29 PM
  4. Clear selections of gridpanel
    By onurbozkurt in forum 1.x Help
    Replies: 4
    Last Post: Aug 19, 2009, 5:00 PM
  5. [CLOSED] clearing selections in grid
    By alexp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 07, 2009, 9:08 AM

Tags for this Thread

Posting Permissions