<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div>
            <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" OnItemUpdating="FormView1_ItemUpdating">
                <ItemTemplate>
                  <asp:Label ID="Label1" runat="server" Text='<%# Eval("Column_0") %>' /><br /><br />
                  <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Edit">Edit</asp:LinkButton>
                </ItemTemplate>
                <EditItemTemplate>
                    <telerik:RadNumericTextBox 
                        DbValue='<%# Bind("Column_0") %>' 
                        ID="RadNumericTextBox1" 
                        runat="server">
                    </telerik:RadNumericTextBox><br /><br />                 
                  <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Update">Save</asp:LinkButton>
                  <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Cancel">Cancel</asp:LinkButton>
                </EditItemTemplate>
            </asp:FormView>
            
            <asp:ObjectDataSource 
                ID="ObjectDataSource1" 
                runat="server" 
                DataObjectTypeName="bllTest"
                SelectMethod="Get" 
                TypeName="dalTest" 
                UpdateMethod="Update">
            </asp:ObjectDataSource>
        </div>
    </form>
</body>
</html>
