jeudi 30 juillet 2015

JavaScript snytax error

<button id="KullaniciSec" type="button" runat="server" onserverclick="KullaniciSec_OnServerClick"  onclick='<%# string.Format("return SecDegerler(\"{0}\");",Eval("id")) %>' class="btn  btn-default btn-xs">
<i class="fa fa-folder-open-o fa-2x"></i>Seç  </button>

Hi , i will call javascript code this code but i have error messaj and i will open console

 <button onclick="return SecDegerler("23"); __doPostBack('ctl00$ContentPlaceHolder1$griduser$cell0_9$TC$KullaniciSec','')" id="ContentPlaceHolder1_griduser_cell0_9_KullaniciSec_0" type="button" class="btn  btn-default btn-xs">
                                            <i class="fa fa-folder-open-o fa-2x"></i>Seç

                                        </button>

how to will be fix? And How to remove "__doPostBack" ?




Aucun commentaire:

Enregistrer un commentaire