[CLOSED] Validator syntax/Example in MVC

  1. #1

    [CLOSED] Validator syntax/Example in MVC

    I want to validate

      X.Column()
                    .DataIndex("countryid")
                    .Text("Country")
                    .Renderer("countryRenderer")
                     
                    .Editor(X.ComboBox()
                        .QueryMode(DataLoadMode.Local)
                        //.TriggerAction(TriggerAction.All)
                        .StoreID("CountryStore")
                        .ValueField("countryid")
                        .DisplayField("country")
                        .AllowBlank(false)                
                        
                    )
    I want validate this combo with Validator property but I am not found any example.can you please provide me sample code for mvc.
    Last edited by Daniil; Jul 22, 2014 at 8:07 PM. Reason: [CLOSED]
  2. #2
    Hi @matrixwebtech,

    Please run this link first:
    http://examples2.ext.net/?clearExamplesCache=true#

    Then this one:
    http://examples2.ext.net/#/search/validator

    There are two example with a Validator.

    Also the ExtJS docs article is useful to read.
    http://docs.sencha.com/extjs/4.2.1/#...-cfg-validator

Similar Threads

  1. [CLOSED] custom validator
    By odyssey in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 21, 2014, 2:03 PM
  2. [CLOSED] Custom Validator Localisation
    By WDewispelaere in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 29, 2013, 4:42 PM
  3. Crazy validator
    By CarWise in forum Bugs
    Replies: 1
    Last Post: Jan 10, 2011, 10:41 AM
  4. [CLOSED] textarea with validator
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 27, 2010, 10:09 AM
  5. Compare Validator
    By Rod in forum 1.x Help
    Replies: 0
    Last Post: Oct 30, 2008, 9:50 AM

Tags for this Thread

Posting Permissions