Google Brother Up


A Master Page & A Content Page

A Master page defines the layout to be used by all pages based on the Master. It’s the overall parent that
controls your layout, specifying how big your header will be on every page, where your navigation features
will be placed, and the text to display in the footer on every page—a bit like a cookie cutter for
each page. The Master page contains some of the content available to each page on the site, so standard
copyright footer text can be defined here, along with positioning the main site logo at the top of the
page. After the standard features of the Master are defined, you then add some placeholders—named
regions on a page that define where content that varies from page to page will be positioned.

A Content page is a page based on a Master, and is where you add the content for each page on a site that 
varies from page to page. The Content page contains text, HTML, and controls within
tags. When the Content page is requested, its content is combined with a copy of the Master page, with
the specific content defined in the Content page placed within the specified placeholder on the Master
page. Then the whole package is delivered to the browser, as shown in Figure 2-1.

86 unique visitors


Some AJAX Sites (good)
D:\Vaijayanta-BACKUP\Back-Up-For-XP\VAIJAYANTA\IMPORTANT\Study Materials All\Study Materials 2007 August to December\Ajax\CSharpSample (good) (good)

81 unique visitors

AJAX .NET Examples and Concepts

This webpage has a lot of examples: -

81 unique visitors

AJAX PRO Concept and Example


1. In web.config file add the tag below under (system.web) tag: -

(add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory, AjaxPro.2"/)

2. Write the TestAjaxPro.aspx file: -

(html xmlns="" )
(head runat="server")
(title)Test Ajax Pro Page(/title)

(script type="text/javascript")
function getServerTime() // being called from (body)
TestAjaxPro.GetServerTimeAjax(getServerTime_callback); // asynchronous call

function getServerTime_callback(res) // being called from inside GetServerTimeAjax() parameter

(body onload="javascript:getServerTime();")
(form id="form1" runat="server" )


3. Write the TestAjaxPro.aspx.cs file: -

using AjaxPro;

public partial class TestAjaxPro : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
AjaxPro.Utility.RegisterTypeForAjax(typeof(TestAjaxPro)); //

public DateTime GetServerTimeAjax() // being called from getServerTime()
return DateTime.Now;

4. Run the code.

81 unique visitors

Drop Down List