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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<html>
<head>
    <title>Test</title>
</head>
<body>
    <form id="Form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="radScriptManager1">
    </telerik:RadScriptManager>
    <telerik:RadGrid runat="server" ID="RadGrid1" AutoGenerateEditColumn="True" AutoGenerateColumns="true" DataSourceID="SqlDataSource1"
     OnPreRender="rgControl_PreRender" AllowAutomaticUpdates="True">
        <MasterTableView AutoGenerateColumns="true" EditMode="EditForms"  DataKeyNames="OrderID" DataSourceID="SqlDataSource1">
        <EditFormSettings  EditColumn-EditFormColumnIndex="4" ColumnNumber="3"   />
        </MasterTableView>
     
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="SELECT * FROM [Orders Qry]"></asp:SqlDataSource>
    </form>
</body>
</html>
