<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ColumnsTemplateDropDowns.aspx.cs" Inherits="DataGrid_ColumnsTemplateDropDowns" %>
<%@ Register TagPrefix="APNSoft" Namespace="APNSoft.WebControls" Assembly="APNSoftControls" %> 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>

    <script type="text/javascript">

    function UpdateDB(DropDown){
        
        //Get row data
        var CategoryID = DropDown.value;
        var RowID = DropDown.attributes["RowID"].value;
        
        //Call the server
        dg.CallTheServer('myDataGrid', RowID, 'CategoryID', CategoryID, null);
        
        //Delete the cached data for the current Grid page.
        dg.ClearPageCache('myDataGrid');

    };

    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <APNSoft:APNSoftDataGrid id="myDataGrid" runat="server"
        SkinFolder = "~/DataGrid/Skins/APNSoft/"
        width = "550" 
        height = "250" 
        HighlightHoveredRow = "false"
    />







    </div>
    </form>
</body>
</html>