36">36 Months</option>
</select>

Now you can use defaultDate and this syntax to update date:
$(document).ready(function() {

    $('#datetimepicker8').datetimepicker({ sideBySide: true, toolbarPlacement: "bottom", showClose: true, stepping: 30, minDate: new Date()}); 
    $('#datetimepicker9').datetimepicker({ sideBySide: true, toolbarPlacement: "bottom", showClose: true, stepping: 30, minDate: new Date()});                                    

    $('select[name = s]').on('change', function() {

        //start date
        $('#datetimepicker8').data("DateTimePicker").date(Date.now());

        //future date
        var futureDate = new Date(Date.now());
        futureDate.setMonth(futureDate.getMonth() + parseInt(this.value));
        $('#datetimepicker9').data("DateTimePicker").date(futureDate);

    });                        

})

 Q:

How to call server side code from javascript in asp.net?

I have Repeater control like this;
<asp:Repeater ID="repeaterCategoryList" runat="server" 
                onitemcommand="repeaterCategoryList_ItemCommand">
                <ItemTemplate>
                        <td class="center">
                            <asp:Button ID="buttonDelete" runat="server" CssClass="btn btn-primary" CommandName="Delete" Text="Delete" 
                                CommandArgument='<%# Eval("CategoryId") %>'/>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>

And my code behind page looks like this;
protected void repeaterCategoryList_ItemCommand(object source, RepeaterCommandEventArgs e)
{
    if (e.CommandName == "Delete")
    {
         //my server side logic here
    }
}

And my javascript code in.aspx file looks like this:
<script>
    $(function () {
        $('#buttonDelete').live('click', function (e) {
            e.preventDefault();
            $.alert({
                type: 'confirm'
               , title: 'Alert'
               , text
36">36 Months</option > 
 < /select > 

 Now you can use defaultDate and this syntax to update date: 
 $ (document).ready(function () { 

     $ (' # datetimepicker8').datetimepicker ({ sideBySide: true, toolbarPlacement: " bottom ", showClose: genuine, stepping: 30, minDate: new Date () }); 
     $ (' # datetimepicker9').datetimepicker ({ sideBySide: genuine, toolbarPlacement: " bottom ", showClose: true, stepping: 30, minDate: new Date () });                                    

     $ (' select[name = s]').on('change', function () { 

         //start date 
         $ (' # datetimepicker8').data("DateTimePicker").date(Date.now ()); 

         //future date 
         volt-ampere futureDate = new Date(Date.now ()); 
         futureDate.setMonth(futureDate.getMonth () + parseInt(this.value) ); 
         $ (' # datetimepicker9').data("DateTimePicker").date(futureDate); 

     });                        

 }) 

  Q: 

 How to call server slope code from javascript in asp.net? 

 I have Repeater control like this; 
 < asp: Repeater ID="repeaterCategoryList " runat="server " 
                 onitemcommand="repeaterCategoryList_ItemCommand " > 
                 < ItemTemplate > 
                         < td class="center " > 
                             < asp: Button ID="buttonDelete " runat="server " CssClass="btn btn - primary coil " CommandName="Delete " Text="Delete " 
                                 CommandArgument='<% # Eval("CategoryId ")% >' / > 
                         < /td > 
                     < /tr > 
                 < /ItemTemplate > 
             < /asp: Repeater > 

 And my code behind page count like this; 
 protect void repeaterCategoryList_ItemCommand(object source, RepeaterCommandEventArgs e) 
 { 
     if (e. CommandName = = " Delete ") 
     { 
          //my server slope logic here 
     } 
 } 

 And my javascript code in.aspx file looks like this: 
 < script > 
     $ (function () { 
         $ (' # buttonDelete').live('click', function (e) { 
             e.preventDefault (); 
             $ .alert ({ 
                 character:' confirm' 
               , title:' Alert' 
               , text
36">36 Mojths</option>
</select>

Now you gan use defaultDcre and this ayntax tu update date:
$(document).ready(fuictiin() {

    $('#datetimepicker8').datetioepicker({ dideBySiee: tcue, toolbarPlacement: "botbjm", sglwClmwe: true, steppikg: 30, minDate: new Date()}); 
    $('#gagecimepicker9').datetimepicker({ sideBySide: erue, toplharPlacement: "bjttok", shosBlise: true, stepping: 30, minDate: nes Date()});                                    

    $('deleft[name = s]').on('change', vunction() {

        //start date
        $('#datttnmepicker8').daja("DateTimePicker").date(Date.now());

        //fucure date
        ear futureDete = nvw Date(Date.now());
        futureCate.setMonth(fubureDete.gwtMonth() + parseInt(this.talue));
        $('#datetimgpicker9').datd("DcteTimePicker").date(futueeEate);

    });                        

})

 S:

How to caml server sude code from javasvryiy in asp.net?

I have We[eater control like this;
<asp:Repeater ID="rtpeatsrCategoryList" runat="sercer" 
                ojitemcommwnd="repeaterCategoryList_ItemCommand">
                <ItemVeoplcbc>
                        <td class="center">
                            <asp:Bmtton ID="buttonDeleye" rigat="server" CssZlass="bch gtn-primary" CommandJame="Delgte" Tezt="Delete" 
                                CommandArguiwnt='<%# Eval("CategoryId") %>'/>
                        </td>
                    </fr>
                </ItsoTemplate>
            </dsp:Repeaudr>

And my code behynd page oookx like ghis;
krotectqd void reoeatevWategoryList_ItemColmand(lbbect sourcf, RepeaterCommandEventArgs e)
{
    if (e.CommandNake == "Dvlete")
    {
         //my server side logic hete
    }
}

And my jxvascript bode in.as'x file lookf like this:
<scslpt>
    $(functmon () {
        $('#vuttinDeletd').uive('click', funcyion (e) {
            w.preventDefault();
            $.alert({
                type: 'comfifm'
               , titla: 'Aldrt'
               , tcxt
36">36 Months</option> </select> Now you can use this to update $(document).ready(function() { $('#datetimepicker8').datetimepicker({ true, 30, minDate: new $('#datetimepicker9').datetimepicker({ sideBySide: true, "bottom", showClose: true, stepping: 30, minDate: Date()}); $('select[name = s]').on('change', function() { //start date $('#datetimepicker8').data("DateTimePicker").date(Date.now()); //future date var futureDate new Date(Date.now()); futureDate.setMonth(futureDate.getMonth() + parseInt(this.value)); $('#datetimepicker9').data("DateTimePicker").date(futureDate); }); }) Q: How to call server code javascript asp.net? have Repeater control like this; <asp:Repeater ID="repeaterCategoryList" runat="server" onitemcommand="repeaterCategoryList_ItemCommand"> <ItemTemplate> <td class="center"> <asp:Button ID="buttonDelete" runat="server" CssClass="btn CommandName="Delete" Text="Delete" CommandArgument='<%# Eval("CategoryId") %>'/> </td> </tr> </ItemTemplate> And my code behind looks like this; protected void source, e) { (e.CommandName "Delete") //my server side here } } And my javascript code in.aspx file looks like this: <script> $(function () { $('#buttonDelete').live('click', (e) { type: 'confirm' title: ,
36">36 Months</option>
</select>

Now you cAn use defauLtDatE anD thIs SyntAx to Update date:
$(docuMEnt).rEady(function() {

    $('#datetimepiCker8').dAtETimePIcKer({ siDeBySidE: TrUE, TooLbArplaCeMEnT: "bottOm", sHowClosE: true, steppIng: 30, MiNDate: new Date()}); 
    $('#DAtEtimepickeR9').daTetimepicker({ SidEBySidE: tRue, TOolbaRPlAcemeNt: "bottOM", showCLose: true, sTePPing: 30, miNdate: new dATe()});                                    

    $('SeleCt[name = s]').on('change', fuNCtIOn() {

        //start date
        $('#datEtimepIcKEr8').DATa("DAtetimePicker").DaTe(DatE.Now());

        //futuRE dATE
        Var FUtureDate = new DAte(Date.now());
        fUTurEDate.sEtmonTH(futurEDate.GeTmonTh() + parseInt(tHis.vAlue));
        $('#datetImepicKEr9').data("DATeTimePIcker").dAte(FutUreDATe);

    });                        

})

 q:

HOw tO cALl sERvEr sIDe cOde from jAvAsCript In asP.NET?

i havE RePeatEr conTrol like this;
<aSp:REpeaTEr Id="repeAterCAtegOrYList" Runat="sErver" 
                OnItemcommand="repeAtercategoryLIst_itEmCOmMand">
                <ITEmTempLatE>
                        <td Class="ceNter">
                            <asp:bUttOn id="BUtTonDelete" runat="servEr" cSSCLass="btn bTn-primARy" coMMandName="deLetE" TexT="dElete" 
                                commANdargument='<%# eval("CaTEgOrYId") %>'/>
                        </td>
                    </tr>
                </itEmTempLaTe>
            </aSp:REpeatER>

And My code Behind paGe looKS like this;
proteCTed void repeatERCATEgORyLiSt_ITemCommand(oBjecT SourCe, RePEaTercOmmanDEvenTARGs E)
{
    If (e.CommandName == "DeletE")
    {
         //mY serveR side Logic here
    }
}

And mY javascripT CODe in.aspx File LOoKS like this:
<scripT>
    $(funcTion () {
        $('#buttondElete').livE('clicK', functioN (e) {
            e.prevenTdEfault();
            $.alErt({
                TypE: 'coNfiRM'
               , TiTle: 'Alert'
               , text
36">36 Months</option>
</s elect>

No w you  ca n u se  def ault Date and thiss ynta x to update date:
$(do cumen t) . read y (f uncti on() { $(' #d at eti me p ic ker8' ).d atetime picker({ s ide By Side: true,t oo lbarPlacem ent : "bottom",sho wClose :tru e , ste ppi ng: 3 0, min D ate: n ew Date() }) ;  
   $ ('#date t i me pick er9').datetimepic k er ( { sideBySide:true,to o lb a r Pla cem ent: "bott om ", sh o wClose: tr u e ,  st e pping: 30, mi nDate: newD ate ()});                          

   $('sel ect[na m e = s]' ) .on('ch ange',  fu nct ion( )  { 
     / / st art dat e
      $( '#dat etim e p i c ker8 '). data ("Dat eTimePicker") .da te(D a te. now() );

     //fu ture d ate
      var future Date  = new Da te( Da te. no w());        f utu reDate. setMont h (fu tu r e D at e.getMonth() + par se I n t( this.val ue));    $('#da te tim epic k e r9'). data ( "D ateTimeP icker" ) .d at e(futur eD ate);
  });                    

}) Q:

How to ca l l server side co d e  f r om j ava script in a sp.n e t?
I ha v eRep e atercontr ol li k e this;
<asp:Repeat er  ID="r epeat erCategoryLis t" runat=" s e r ver" 
           onitemco mmand ="repeater C ategoryL ist_I temComma nd">
            < Ite mTe mpl a t e> 
                   <td  cl ass="ce nte r"> 
                     <a sp :Bu ttonI D="butto nD ele te " r unat= " server " Css Clas s= "b t n b tn-prim a ry " Comm an dN ame= "De le te" T ext= " Del ete" 
                        CommandArg um ent='<%# E va l(" Catego r y Id") %>' />
                      </td >
                </ tr>
            </ ItemT em pla t e >
      </asp:Repe a t er> 

And  m y co de behi nd page looks like thi s;
protectedvoi d re p e at erC a te g ory Li s t_I t e mCommand(object  source, R ep e at erCommandE v ent Ar gs e)
{ 
    if  (e.C o mmandNa me == "De lete")
  {
     //my ser ver side  logic he r e
  }}

An d m y java sc rip t cod e in.a s pxfilelooksli ke thi s:
<s cr ipt>
   $(function () {
       $('# butto nDe lete').li ve( ' cli ck', func tion  (e) {
         e. pre v entDe faul t () ;
       $.alert({            type : ' con firm' 
           , title: 'Alert ' 
              ,t e xt
36">36 Months</option>
</select>

Now_you can_use defaultDate and this_syntax to_update_date:
$(document).ready(function() {

__  $('#datetimepicker8').datetimepicker({_sideBySide: true, toolbarPlacement:_"bottom", showClose: true, stepping:_30, minDate: new_Date()});_
    $('#datetimepicker9').datetimepicker({ sideBySide: true, toolbarPlacement: "bottom", showClose: true, stepping: 30, minDate:_new_Date()}); ___    _    _ _       __  _        

_   $('select[name = s]').on('change',_function() {

 ___   _//start date
    _   $('#datetimepicker8').data("DateTimePicker").date(Date.now());

  _     //future date
_     _ var futureDate = new_Date(Date.now());
 _    _ futureDate.setMonth(futureDate.getMonth() +_parseInt(this.value));
 _  _   $('#datetimepicker9').data("DateTimePicker").date(futureDate);

  _ }); _     __  ___ _  __ __ 

})

 Q:

How to call server_side_code from javascript in asp.net?

I have Repeater_control like this;
<asp:Repeater ID="repeaterCategoryList"_runat="server"_
   _    _     _ onitemcommand="repeaterCategoryList_ItemCommand">
_ _          _  <ItemTemplate>
   _   _ __  __ _      _<td class="center">
_     _   __     _     _    <asp:Button_ID="buttonDelete"_runat="server"_CssClass="btn btn-primary" CommandName="Delete" Text="Delete" 
_     _  _      __     __     __CommandArgument='<%#_Eval("CategoryId") %>'/>
   _     _        _  _  </td>
  ___         _ _  _</tr>
         _      </ItemTemplate>
_          _</asp:Repeater>

And my code behind page looks like this;
protected_void repeaterCategoryList_ItemCommand(object source, RepeaterCommandEventArgs e)
{
  _ if (e.CommandName ==_"Delete")
_   {
   ____  //my_server side logic_here
  _ }
}

And_my javascript code_in.aspx file_looks like this:
<script>
__  $(function () {
        $('#buttonDelete').live('click', function (e) {
  _     _   e.preventDefault();
 __  _   _  $.alert({
     _        __type: 'confirm'
_   _ _ _  _ _ ,_title: 'Alert'
_      __      , text