AJAX basics with ASP.NET(calling server-side function): Part-2

September 25, 2009 Leave a comment

As we have already went into the basics of AJAX, now we are going to look into how to call a server-side function from javascript through AJAX. Here is the sample piece of code,

Create an ASPX page as follows – Read more…

Categories: AJAX

ASP.NET: Difference between Session’s Abandon() & Remove() & Clear()

September 23, 2009 Leave a comment

We all might know the necessity of  Session object in ASP.NET, which is available in the namespace ‘System.Web.HttpContext.Current’. But one may or may not know about the difference between the static methods like -
Abandon(), Remove(key) and Clear().  Below I’ve given a brief explanation of these methods – Read more…

Categories: ASP.NET

MS SQL – Date format function

September 22, 2009 Leave a comment

There may be times, where we need a custom date time format to be applied for the columns of a database table. Though there are different formats available which can not be used to our taste. So here I’m going to present you a MS SQL user defined scalar function. Here the function definition goes –

Read more…

AJAX basics with ASP.NET: Part-1

September 21, 2009 1 comment

We all might know, what is AJAX? We all must have developed sites using AJAX. I think all of us would have used the readily available frameworks like ASP.NET AJAX framework, Prototype, jQuery or any one from the list. As these libraries or frameworks encapsulate the necessary code, we don’t have the basic knowledge of how the AJAX works (e.g. ASP.NET AJAX).

If we’re using ASP.NET AJAX, we would just add the ScriptManager tag, UpdatePanel and just code at the server-side as UpdatePanel1.update() after Read more…

Categories: AJAX Tags: , , ,
Follow

Get every new post delivered to your Inbox.