<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Admin.Master" CodeBehind="SnellAreaDetails.aspx.vb" Inherits="Superbowl.SnellAreaDetails" 
    title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript">		  
<!--			
	function FormValidate()
	{
		msg = ""
		f = document.aspnetForm;
		
		if(f.ctl00$body$strSnellAreaName.value == "")
			msg += "- SnellArea Name\n";						
		
		if(msg.length > 0){
			alert("Please enter the following values:\n" + msg);
			return false;
		}
		else
		{
			if(f.ctl00$body$txtSnellAreaName.value != "<% response.write(Me.dwSnellArea) %>" && "<% response.write(Me.SnellAreaCode) %>" != "")
			{
				if(confirm('Changing Data Warehouse Critical fields will Update the relative data warehouse records. Do you wish to continiue?'))
					return true;
				else
					return false;
			}
			else
				return true;
		}	  
	}					
-->
</script>
	<style type="text/css">
		.cssTxt1
		{
			width: 60px;
			text-align:right;
		}
		.cssDDL1
		{
			width: 160px;
		}
		.cssDDL2
		{
			width: 240px;
		}
   </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
	<table width="100%" border="0" >
 <tr>
     <td align="center" class="headings" colspan="3">SnellArea Details</td>
 </tr>
 <tr valign="top" >         
   <td align="left" nowrap valign="top">
        <table  cellpadding="2" width="100%" border="0">
				<tr 'null tr, controls the width'><td width="30%"></td><td></td></tr>
				<tr >
					<td align="right">Snell Area Code:</td>
					<td align="left" nowrap >
						<asp:TextBox ID="txtSnellAreaCode" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox><Y title="Data Warehouse Critical Field">*</Y></td></tr>			 			
				<tr>
				  <td align="right" >Snell Area Name:</td>
				  <td align="left" nowrap >
						<asp:TextBox ID="strSnellAreaName" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox></td></tr>
				</table></td>
	<td align="left" nowrap valign="top" width="40%">
        <table cellpadding="2" width="100%" border="0">
				<tr 'null tr, controls the width'><td width="30%"></td><td></td></tr>
				<tr >
					<td align="right">Region:</td>
					<td align="left" nowrap >
						<asp:TextBox ID="strRegion" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox></td></tr>						
				<tr >
					<td align="right">Branch:</td>
					<td align="left" nowrap >
						<asp:TextBox ID="strBranch" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox></td></tr>						
							</table></td>		
    <td align="left" nowrap width="5%"></td>
 </tr>
 <tr>
     <td align="center" colspan="3">
		  <asp:Label ID="lblMessage" runat="server" Font-Italic="True" Font-Bold="True" 
			  CssClass="red" Width="60%"></asp:Label></td>
 </tr>
 <tr>
   <td align="center" colspan="3"><asp:Button ID="btnSave" runat="server" Text="Save" 
			OnClientClick="return FormValidate()" />&nbsp;<asp:Button ID="btnClose" runat="server" Text="Cancel" /></td>
 </tr>
 <tr>
   <td align="center" colspan="3">&nbsp;</td>
 </tr>
 <tr>
   <td align="center" colspan="3">Last Edit: <asp:Label ID="lblLastEdit" runat="server" Text="New" Font-Italic="True"></asp:Label></td>
 </tr>
</table>

</asp:Content>

