Posts Tagged ‘postback’
Webservice from javascript
08
Feb
In this post, I will show you how to use web service from javascript using AJAX script manager.
Below example will show you how to get values from textfields and send that values to webservice and show the results on screen without any post back.
Step 1: Add webservice to your project and uncomment Script service:
[WebService(Namespace = "MyServ")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment ....Read Full Article
JSON
31
Jan
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, a ....Read Full Article
Client Callback
28
Jan
In a client callback a client side event makes a request to the server, at server the page is initiated, it members are created, however page runs a modified version of its life cycle and only method that is marked for invocation is called; that, then can return a value that can be read using another client side function.
Follow the following steps to use Client Callback benefits on your asp.net application.:
Step 1: Inherit class from ICallbackEventHandler
public partial class _Default : Sys ....Read Full Article