Is it possible to call ASP.NET codebehind function from JavaScript.
If you are working on a non-Ajax project, you can try System.Web.UI.ICallbackEventHandler.
Samples here:
http://msdn.microsoft.com/en-us/library/ms178210.aspx http://www.ajaxmatters.com/2006/05/using-icallbackeventhandler-in-asp-net/
http://msdn.microsoft.com/en-us/library/ms178210.aspx
http://www.ajaxmatters.com/2006/05/using-icallbackeventhandler-in-asp-net/