Enable Page Methods on your ScriptManager
Set the EnablePageMethods attribute to true
-------------------------------
En el code behind:
[System.Web.Services.WebMethod]
public static string ValidateCreditCard(string creditCardNumber)
{
return creditCardNumber;
}
-------------------------------------
código en javascript:
----------------------------------------------------
y ejecutar desde un control:
Credit Card Number |
-------------------------------------
POR EL MOMENTO PARA VISUALIZAR EDITAR LA ENTRADA
No hay comentarios:
Publicar un comentario