ASP.NET Podcast Show #53 - Atlas ListView and some Declarative Databinding

Subscribe – Be like Wally (ok, maybe thats not the best idea)




ASP.NET Podcast site:


Show Notes:

  • Doug Reilly.
  • Todd Miranda.
  • Dell goes to AMD!
  • Source:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeclarativeDatabinding.aspx.cs" Inherits="Databinding_Databinding" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="" >

<head runat="server">

    <title>Declarative Databinding Page</title>



<form id="form1" runat="server">

<atlas:ScriptManager runat="server" ID="ScriptManager1" >


        <atlas:ServiceReference GenerateProxy=true Path="WebServiceProjects.asmx" />



<input type="button" id="btnGetData" value="Get Project List" onclick="GetData()" />

<script language="javascript">


    function GetData()





    function OnServiceComplete(result)


        debug.dump(result, "Returned data.");

        var projectName = $("ProjectResults");




<div id="ProjectResults">


<div id="ProjectTemplate">

This is a list of all project in the table tblProject:<br />

<div id="ProjectItemTemplate">

    Project: <strong><span id="ProjectNameLabel"></span></strong>




<script type="text/xml-script">

<page xmlns:script="">


    <listView id="ProjectResults"

        itemTemplateParentElementId="ProjectTemplate" >


            <template layoutElement="ProjectTemplate" />



            <template layoutElement="ProjectItemTemplate">

                <label id="ProjectNameLabel">


                        <binding dataPath="ProjectName" property="text" />











No Comments