<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Admin.Master" CodeBehind="ChannelDetails.aspx.vb" Inherits="Superbowl.ChannelDetails" 
    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$txtSegmentPrimary.value == "")
			msg += "- Segment Primary Name\n";
		if(f.ctl00$body$txtSegmentSecondary.value == "")
			msg += "- Segment Secondary Name\n";
		if(f.ctl00$body$txtChannelPrimary.value == "")
			msg += "- Channel Primary Name\n";
		if(f.ctl00$body$txtChannelSecondary.value == "")
			msg += "- Channel Secondary Name\n";		
		
		if(msg.length > 0){
			alert("Please enter the following values:\n" + msg);
			return false;
		}
		else
		{			
			if(confirm('Changing Data Warehouse Critical fields will Update the relative data warehouse records. Do you wish to continiue?'))
				return true;
			else
				return false;		}
	}					
-->
</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">Channel Segment 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="50%"></td><td></td></tr>
				<tr >
					<td align="right">Segment Primary:</td>
					<td align="left" nowrap ><asp:TextBox ID="txtSegmentPrimary" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox><Y title="Data Warehouse Critical Field">*</Y></td></tr>	 
				<tr >
					<td align="right">Segment Secondary:</td>
					<td align="left" nowrap ><asp:TextBox ID="txtSegmentSecondary" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox><Y title="Data Warehouse Critical Field">*</Y></td></tr>	 
				<tr >
					<td align="right">Channel Primary:</td>
					<td align="left" nowrap ><asp:TextBox ID="txtChannelPrimary" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox><Y title="Data Warehouse Critical Field">*</Y></td></tr>	 
				<tr >
					<td align="right">Channel Secondary:</td>
					<td align="left" nowrap ><asp:TextBox ID="txtChannelSecondary" runat="server" MaxLength="50" 
							CssClass="cssDDL1"></asp:TextBox><Y title="Data Warehouse Critical Field">*</Y></td></tr>				
				<tr>
				  <td align="right" >&nbsp;</td>
				  <td align="left" nowrap >&nbsp;</td></tr>
				</table></td>
	<td align="left" nowrap valign="top" width="15%">
        <table cellpadding="2" width="100%" border="0">
				<tr 'null tr, controls the width'><td width="30%"></td><td></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>
