[CLOSED] Set Hide property of Ext control in Javascript with MVC version.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Set Hide property of Ext control in Javascript with MVC version.

    Hello,
    In Ext 2.5 version we are using hide() property in javascript to hide an Ext control. But after migration with 4.5.1 same code not working in javascript level.

    E.g. code written at .cshtml
    X.ComboBox()
                .ID("CmbData")
                .AllowBlank(false)
                .Editable(true)
                .ForceSelection(true)
                .QueryMode(DataLoadMode.Local)
                .TriggerAction(TriggerAction.All)
                .EmptyText("-- Select Status --")
                .Items(new ListItem("Active", true),
                new ListItem("Inactive", false))
                );
    Combobox accessed in javascript as below:
      if (Somecondtion==true)
            App.CmbData.show();
        else {
            App.CmbData.hide();
             }
    Note: Server side we are able to hide the control by using Hidden property.
    Last edited by fabricio.murta; Aug 01, 2018 at 12:40 PM.

Similar Threads

  1. Replies: 3
    Last Post: Feb 08, 2017, 4:31 PM
  2. Replies: 6
    Last Post: Jul 28, 2011, 4:43 PM
  3. [CLOSED] how to set panel html property as javascript property
    By kenanhancer in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jan 05, 2011, 6:45 PM
  4. [CLOSED] FormPanel - Hide control - label control
    By seanwo in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 11, 2010, 8:57 AM

Posting Permissions