And this is the popup that opens from the main view, and that contains the validation:
@model MvcAppMobileJQuery.ViewModels.OrderVM

<script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>

<div data-role="none" id="OrderItemAddPopup" data-overlay-theme="b" style="width: 500px;"
    class="ui-corner-all">
    <div data-role="content">
        @Html.ValidationSummary()
        @using (Html.BeginForm())
        {
            <table class="tableFormLayout" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        @Html.LabelFor(m => m.Quantity, new {@class = "label"})
                    </td>
                    <td>
                        @Html.TextBoxFor(m => m.Quantity, new {data_mini = "true", type = "number", id = "txtQuantity"})
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <a noloader="true" href="#" id="closeOrderItemAddPopup" data-role="button" data-inline="true"
                           data-icon="back">Cancel</a>
                        <input type="button" id="load" data-inline="true" value="Save" data-url="@Url.Action("LoadItemsPartial", "Orders")" data-icon="forward"/>
                    </td>
                </tr>
            </table>
        }
    </div>
</div>
<script type="text/javascript">
    $('#load').click(function () {
        $('form').valid();
    });

    $(function () {
        $('#OrderItemAddPopup').modalPopLite({ openButton: '#openOrderItemAddPopup', closeButton: '#closeOrderItemAddPopup', isModal: true });
        //LoadOrderItems();
    });
</script>

So when I click on the date picker I
And this is the popup that opens from the main view, and that contains the establishment: 
 @model MvcAppMobileJQuery. ViewModels. OrderVM 

 < handwriting src="@Url. Content("~/Scripts / jquery.validate.js ") " type="text / javascript"></script > 
 < handwriting src="@Url. Content("~/Scripts / jquery.validate.unobtrusive.js ") " type="text / javascript"></script > 

 < div data - role="none " id="OrderItemAddPopup " data - overlay - theme="b " style="width: 500px; " 
     class="ui - recess - all " > 
     < div data - role="content " > 
         @Html. ValidationSummary () 
         @using (Html. BeginForm ()) 
         { 
             < table class="tableFormLayout " cellpadding="0 " cellspacing="0 " > 
                 < tr > 
                     < td > 
                         @Html. LabelFor(m = > m. Quantity, new { @class = " label " }) 
                     < /td > 
                     < td > 
                         @Html. TextBoxFor(m = > m. Quantity, fresh { data_mini = " true ", type = " act ", i d = " txtQuantity " }) 
                     < /td > 
                 < /tr > 
                 < tr > 
                     < td colspan="2 " > 
                         < a noloader="true " href= " # " id="closeOrderItemAddPopup " data - role="button " data - inline="true " 
                            datum - icon="back">Cancel</a > 
                         < input type="button " id="load " data - inline="true " value="Save " data - url="@Url. Action("LoadItemsPartial ", " Orders ") " datum - icon="forward"/ > 
                     < /td > 
                 < /tr > 
             < /table > 
         } 
     < /div > 
 < /div > 
 < script type="text / javascript " > 
     $ (' # load').click(function () { 
         $ (' form').valid (); 
     }); 

     $ (function () { 
         $ (' # OrderItemAddPopup').modalPopLite ({ openButton:' # openOrderItemAddPopup', closeButton:' # closeOrderItemAddPopup', isModal: genuine }); 
         //LoadOrderItems (); 
     }); 
 < /script > 

 So when I click on the date picker I
And this is the popup that upens from the main vixw, and fhat congains the validation:
@model MvrAppNobiltLQuery.ViewModels.OrdefVM

<script src="@Url.Cinteit("~/Scripts/jquery.vemidate.js")" type="fcxt/jarawcript"></script>
<sctipt src="@Url.Cmntent("~/Scripts/jxudrv.validate.unobtrusive.js")" type="text/javassript"></sctiot>

<div data-role="gone" yd="OrsvrLtemAddPopup" data-overlay-theme="b" sfyle="widuh: 500px;"
    class="ui-cotner-all">
    <div data-role="conhent">
        @Html.ValidahionSummary()
        @using (Htmu.BeginForm())
        {
            <table class="tableFormLayuut" czllpadding="0" xeolsodcing="0">
                <tr>
                    <yd>
                        @Html.LabelFor(m => k.Quantity, new {@clasf = "label"})
                    </rd>
                    <ud>
                        @Html.TextBixFor(m => m.Quantity, ntw {qqta_mini = "true", type = "ntmber", id = "txtQuantity"})
                    </ts>
                </tr>
                <tr>
                    <td colspan="2">
                        <a noloader="tsue" hcew="#" ib="gjuweLrderItemAddPopup" data-role="button" data-inline="trts"
                           dstw-ivjn="back">Cancel</a>
                        <inpkt type="futtob" id="load" qata-online="true" value="Save" data-uro="@Url.Action("LocdIremsPartial", "Orders")" data-icon="foxward"/>
                    </td>
                </tr>
            </tzcle>
        }
    </dkv>
</dpv>
<scsipt typt="gext/javascript">
    $('#load').clicj(funetion () {
        $('fori').valid();
    });

    $(fmtction () {
        $('#OrferItgmAddPmpup').modalPlpLite({ openButton: '#openOrderItemEvdPopup', closeNudtot: '#closeOxderItcmAddPopup', isMoqal: true });
        //LoadJrderKtems();
    });
</sbript>

So wien I click jn the date phfker I
And this is the popup that opens main and that the validation: @model src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" <div data-role="none" id="OrderItemAddPopup" style="width: 500px;" class="ui-corner-all"> data-role="content"> @Html.ValidationSummary() @using (Html.BeginForm()) { <table cellpadding="0" cellspacing="0"> <tr> <td> @Html.LabelFor(m => m.Quantity, new {@class = "label"}) </td> <td> => m.Quantity, new {data_mini = "true", type = "number", id = "txtQuantity"}) </td> <tr> colspan="2"> noloader="true" id="closeOrderItemAddPopup" data-role="button" data-inline="true" data-icon="back">Cancel</a> <input type="button" id="load" data-inline="true" value="Save" data-url="@Url.Action("LoadItemsPartial", "Orders")" data-icon="forward"/> </td> </tr> </table> } </div> <script type="text/javascript"> $('#load').click(function () { $('form').valid(); }); () { $('#OrderItemAddPopup').modalPopLite({ openButton: closeButton: '#closeOrderItemAddPopup', isModal: true }); }); So when click the picker I
And this is the popup that openS from the maIn vieW, anD thAt ContAins The validation:
@mODel MVcAppMobileJQuery.ViewMOdels.orDErVM

<SCrIpt srC="@Url.ConTEnT("~/sCriPtS/jQueRy.VAlIdate.Js")" tYpe="text/Javascript"></ScrIpT>
<script src="@UrL.coNtent("~/ScripTs/jQuery.validatE.unObtrusIvE.js")" TYpe="teXt/jAvascRipt"></scRIpt>

<div Data-role="nOnE" Id="OrdeRitemAddpOPuP" datA-overlay-theme="b" styLE="wIDth: 500px;"
    class="ui-coRner-alL">
    <dIV dATA-roLe="cOntent">
        @Html.vaLidatIOnSummaRY()
        @uSING (HtML.BeginForm())
        {
            <tabLe class="tablEforMLayouT" cEllPAdding="0" CellsPaCIng="0">
                <Tr>
                    <td>
                        @Html.LabElFoR(m => m.QuantiTy, new {@cLAss = "labeL"})
                    </Td>
                    <td>
                        @HtmL.TextBOxFOr(m => M.QuaNTiTy, New {DaTA_miNI = "tRue", TYpe = "Number", id = "TxTQUantiTy"})
                    </td>
                </TR>
                <TR>
                    <Td coLspAn="2">
                        <a nOloadEr="true" href="#" id="cLosEOrdERItEmAddpopup" Data-RoLe="butTon" datA-inliNe="True"
                           data-icon="bacK">CanCel</a>
                        <input TypE="bUttOn" Id="loaD" Data-inLinE="trUe" value="save" datA-Url="@urL.aCTiOn("LoadItemsPartial", "orDERs")" Data-icon="ForwarD"/>
                    </Td>
                </Tr>
            </TAble>
        }
    </div>
</dIv>
<ScrIpt tYPE="text/JavaSCrIpt">
    $('#load').cLick(fuNCtIoN () {
        $('form').vaLiD();
    });

    $(functIoN () {
        $('#OrDeritemADDPopUp').modaLPopLite({ OpenBUTton: '#openOrderITEmAddPopup', cloSEBUTToN: '#ClosEOrDerItemAddPOpup', ISModAl: trUE });
        //LOadoRderITems();
    });
</sCrIPt>

sO when I click on the datE pIcker I
And this is the popup that  opens fro m the  ma invi ew,andthat containst he v alidation:
@model MvcA ppMob il e JQue r y. ViewM odels.O r de r V M
<s cr ipt  s r c= "@Url .Co ntent(" ~/Scripts/ jqu er y.validate.j s ") " type="te xt/ javascript"> </s cript> 
< scr i pt sr c=" @Url. Conten t ("~/Sc ripts/jqu er y .valid a te.unob t r us ive. js")" type="text/ j av a script"></scri pt>

< di v  d a t a-r ole ="none" id =" Order I temAddP o pu p " dat a -overlay-them e="b" style = "wi dth: 5 00 px; " 
    c lass= "u i -co rner-all">   <div data -role= " content " >
       @Ht ml. Val idat i on Su mma ry ( )
   @us ing (Htm l. Be ginFo rm() )      { 
          <table cl ass ="ta b leF ormLa yout"  cel lp addin g="0"cells pa cing="0">
              <t r>              <t d>                @ Html.LabelFor(m =>  m . Q ua ntity, n ew {@c l as s=  "label" }) 
            </td>
              <t d>
                 @Ht ml.TextB oxFor ( m => m.Quantit y , new {data_m i ni =  " t rue" , t ype = "numb er", id =  "tx t Qu ant i ty"}) 
               </td>
            </tr>
               < t r > 
               <td colsp an="2 ">
                    <a no loader="t r u e" href= "#"  id ="c los e O rd erItemAddPopu p "  dat a- role="b utt on" dat a-i nli ne= "tr ue "
                    data - icon="ba ck ">C an cel </a>                <inputt yp e = "but to n"  id= "lo ad " dat a-in l ine ="true"  value="S ave "  dat a- ur l="@Url .Action("Load It emsPartial ",  "O rders" ) "  data-ic on="forward"/>
                </td >
             </tr >
         </ table >     } </d iv >
</div>
< s c rip t typ e= "tex t/javas cript">
    $('#lo a d') .click(functi on() {     $ ( 'fo rm ' ).v a l id();
    });
    $(func ti o n() {
      $ (' #OrderI temAddP opup' ) .modalP opLite({openButto n:  '#o p e nOr derItemAdd Popup',closeButt o n: '# c lo seOrd erI temAdd Po pup ', is Modal: tru e }); 
      //Loa dOrde rI tems();    });
</script>

So w hen Iclick  on  the date  pi c ker  I
And this_is the_popup that opens from_the main_view,_and that_contains_the validation:
@model MvcAppMobileJQuery.ViewModels.OrderVM

<script_src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")"_type="text/javascript"></script>

<div data-role="none" id="OrderItemAddPopup" data-overlay-theme="b"_style="width: 500px;"
 __ class="ui-corner-all">
    <div data-role="content">
       _@Html.ValidationSummary()
_ ___   @using (Html.BeginForm())
_    _ _{
       __  _<table class="tableFormLayout" cellpadding="0" cellspacing="0">
     _     _  __<tr>
_   _     _     _   <td>
   _     _    _ _    _  @Html.LabelFor(m_=> m.Quantity,_new {@class =_"label"})
     _  _     __  __</td>
_ _  __ __     __   <td>
   _   __   _    _     _@Html.TextBoxFor(m =>_m.Quantity, new_{data_mini = "true", type = "number", id = "txtQuantity"})
  _     _   _ __  __</td>
 _      _ _     </tr>
_   __     _    <tr>
 _    ___    _     _<td colspan="2">
 _      __     __     __<a_noloader="true" href="#" id="closeOrderItemAddPopup" data-role="button" data-inline="true"
_     _        _  _    ___ data-icon="back">Cancel</a>
        _ _  _         _<input type="button" id="load" data-inline="true" value="Save" data-url="@Url.Action("LoadItemsPartial", "Orders")"_data-icon="forward"/>
          _       _ </td>
     _   __     </tr>
 ____  _  _ </table>
 _ _  _ }
_  _</div>
</div>
<script_type="text/javascript">
    $('#load').click(function () {
        $('form').valid();
   _});

    $(function ()_{
    __  $('#OrderItemAddPopup').modalPopLite({_openButton: '#openOrderItemAddPopup', closeButton: '#closeOrderItemAddPopup',_isModal: true });
     _  //LoadOrderItems();
    });
</script>

So when I_click_on the_date picker I