Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ASP.Net 2.0 + AJAX 1.0 + AjaxToolKit + XHTML troublesASP.Net 2.0 + AJAX 1.0 + AjaxToolKit + XHTML troubles
Previous
 
Next
New Post
5/1/2007 6:23 AM
 

I've got a module which was working for a week as I developed it. Apparently I changed something and have no idea what. Now the module doesn't load anymore (at the browser level, DNN doesn't throw any errors) and I get JS errors. So after DAYS of research, trial, and error, I've got the code working as a standalone aspx implementing my user-control (ASCX).  The moment I try to run the EXACT same code in DNN as a dynamic module, it fails again. My code is almost entirely XHTML 1.0 strict AND transitional compliant. That code run under dnn produces 155 errors (mine only 3 and not critical).

I've updated the skins (DDN-Blue) by adding the .doctype.xml files (4 total, for all containers) with <SkinDocType><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">]]></SkinDocType>  (also tried Transitional 1.0 and Strict 1.0)

I've set web.config to include <xhtmlConformance mode="Transitional" />

Running IIS6 on Server 2003, .Net 2.0 v2.0.50727

MS Ajax 1.0 + AjaxToolKit build 10301

My code uses a few UpdatePanel, ModalExtender (already found and fixed the dummy button issue), TabContainer, and TextboxWatermarkExtender. I've done NO javascript modifications at all.

If I can't solve this in the next day, I'm going to have to abort DNN and refigure all my security code (I use and like the DNN Security Role framework).

Here is my code, any help would be massively appriciated:

<%@ Control language="vb" Inherits="CompTekNetModules_AttenderVendor.ViewAttenderVendor" CodeFile="ViewAttenderVendor.ascx.vb" AutoEventWireup="false" Explicit="True" %>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>
<%@ Register Assembly="AjaxControlToolkit, Version=1.0.10301.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<link rel="stylesheet" type="text/css" href="/css/Attender.css" />

<asp:UpdateProgress ID="uppSites" runat="server" AssociatedUpdatePanelID="upSites">
    <ProgressTemplate>
        <div style="position:absolute; top:40%; left:42%; display:inline;  padding:10px; text-align:center;  -moz-opacity:.93;opacity:.93; z-index:99999;"><div style=" background:#AAEEAA; border:solid 3px #99DD99; padding:40px;  vertical-align:middle; width:auto; text-align:center; -moz-opacity:1;opacity:1;"><div><img src="/images/loading_animation_liferay.gif" alt="updating......"/> <br /><br /> Please Wait ....</div></div></div>
    </ProgressTemplate>
</asp:UpdateProgress>

<asp:UpdateProgress ID="uppDvTeacher" runat="server" AssociatedUpdatePanelID="upDvTeacher">
    <ProgressTemplate>
        <div style="position:absolute; top:40%; left:42%; display:inline;  padding:10px; text-align:center;  -moz-opacity:.93;opacity:.93; z-index:99999;"><div style=" background:#AAEEAA; border:solid 3px #99DD99; padding:40px;  vertical-align:middle; width:auto; text-align:center; -moz-opacity:1;opacity:1;"><div><img src="/images/loading_animation_liferay.gif" alt="updating......"/> <br /><br /> Please Wait ....</div></div></div>
    </ProgressTemplate>
</asp:UpdateProgress>

<asp:UpdateProgress ID="uppDvStudent" runat="server" AssociatedUpdatePanelID="upDvStudent">
    <ProgressTemplate>
        <div style="position:absolute; top:40%; left:42%; display:inline;  padding:10px; text-align:center;  -moz-opacity:.93;opacity:.93; z-index:99999;"><div style=" background:#AAEEAA; border:solid 3px #99DD99; padding:40px;  vertical-align:middle; width:auto; text-align:center; -moz-opacity:1;opacity:1;"><div><img src="/images/loading_animation_liferay.gif" alt="updating......"/> <br /><br /> Please Wait ....</div></div></div>
    </ProgressTemplate>
</asp:UpdateProgress>

<asp:ObjectDataSource ID="odsTestScoring" runat="server" EnablePaging="True" TypeName="dsTESTSCORINGTableAdapters.SiteTableAdapter"
    SelectMethod="SelectRowsByVendor" InsertMethod="InsertRow" UpdateMethod="UpdateRow"
    SelectCountMethod="SelectRowsCount" EnableCaching="false" EnableViewState="False" DeleteMethod="DeleteQuery">
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="0" Name="vendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="0" Name="districtID" PropertyName="Value" Type="Int32" />
    </SelectParameters>
    <InsertParameters>
        <asp:QueryStringParameter Name="SITE_CODE" QueryStringField="SITE_CODE" Type="String" />
        <asp:QueryStringParameter Name="SITE_NAME" QueryStringField="SITE_NAME" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:QueryStringParameter Name="SITE_CODE" QueryStringField="SITE_CODE" Type="String" />
        <asp:QueryStringParameter Name="SITE_NAME" QueryStringField="SITE_NAME" Type="String" />
        <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
    </UpdateParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsTestScoringUA" runat="server" TypeName="dsTESTSCORINGTableAdapters.SiteTableAdapter"
    SelectMethod="SelectRowsByVendorUA" InsertMethod="InsertRow" UpdateMethod="UpdateRow" DeleteMethod="DeleteQuery"
    SelectCountMethod="SelectRowsCountUA" EnablePaging="True" EnableCaching="false" EnableViewState="False" >
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="0" Name="vendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="0" Name="districtID" PropertyName="Value" Type="Int32" />
    </SelectParameters>
    <InsertParameters>
        <asp:QueryStringParameter Name="SITE_CODE" QueryStringField="SITE_CODE" Type="String" />
        <asp:QueryStringParameter Name="SITE_NAME" QueryStringField="SITE_NAME" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:QueryStringParameter Name="SITE_CODE" QueryStringField="SITE_CODE" Type="String" />
        <asp:QueryStringParameter Name="SITE_NAME" QueryStringField="SITE_NAME" Type="String" />
        <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
    </UpdateParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsTeacher" runat="server" DeleteMethod="Delete" InsertMethod="InsertWithVendorAssoc"
    OldValuesParameterFormatString="{0}" SelectMethod="GetDataByVendorDistrictNoPage" SelectCountMethod="GetRowCountVendorDistrict"
    TypeName="dsTESTSCORINGTableAdapters.attender_TeacherTableAdapter" UpdateMethod="Update">
    <DeleteParameters>
        <asp:Parameter Name="rTeacherID" Type="Int32" />
    </DeleteParameters>
    <UpdateParameters>
        <asp:Parameter Name="rTeacherID" Type="Int32" />
        <asp:Parameter Name="UniqueID" Type="String" />
        <asp:Parameter Name="NameFirst" Type="String" />
        <asp:Parameter Name="NameLast" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Addr1" Type="String" />
        <asp:Parameter Name="Addr2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="Notes" Type="String" />
    </UpdateParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="-1" Name="VendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="-1" Name="DistrictID" PropertyName="Value" Type="Int32" />
    </SelectParameters>
    <InsertParameters>
        <asp:Parameter Name="UniqueID" Type="String" />
        <asp:Parameter Name="NameFirst" Type="String" />
        <asp:Parameter Name="NameLast" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Addr1" Type="String" />
        <asp:Parameter Name="Addr2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="Notes" Type="String" />
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" Type="Int32" />
    </InsertParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsTeacherUA" runat="server" DeleteMethod="Delete" InsertMethod="InsertWithVendorAssoc"
    OldValuesParameterFormatString="{0}" SelectMethod="GetDataByUAVendorDistrictNoPage" SelectCountMethod="GetRowCountUAVendorDistrict"
    TypeName="dsTESTSCORINGTableAdapters.attender_TeacherTableAdapter" UpdateMethod="Update">
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="-1" Name="VendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="-1" Name="DistrictID" PropertyName="Value" Type="Int32" />
    </SelectParameters>
    <DeleteParameters>
        <asp:Parameter Name="rTeacherID" Type="Int32" />
    </DeleteParameters>
    <UpdateParameters>
        <asp:Parameter Name="rTeacherID" Type="Int32" />
        <asp:Parameter Name="UniqueID" Type="String" />
        <asp:Parameter Name="NameFirst" Type="String" />
        <asp:Parameter Name="NameLast" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Addr1" Type="String" />
        <asp:Parameter Name="Addr2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="Notes" Type="String" />
    </UpdateParameters>
    <InsertParameters>
        <asp:Parameter Name="UniqueID" Type="String" />
        <asp:Parameter Name="NameFirst" Type="String" />
        <asp:Parameter Name="NameLast" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Addr1" Type="String" />
        <asp:Parameter Name="Addr2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="Notes" Type="String" />
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" Type="Int32" />
    </InsertParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsStudent" runat="server"
    OldValuesParameterFormatString="{0}" TypeName="dsTESTSCORINGTableAdapters.RealStudentTableAdapter"
    DeleteMethod="Delete" InsertMethod="InsertWithVendorAssoc" SelectMethod="GetDataByVendorDistrict" UpdateMethod="Update" >
    <DeleteParameters>
        <asp:Parameter Name="rStudentID" Type="Int32" />
    </DeleteParameters>
    <UpdateParameters>
        <asp:Parameter Name="rStudentID" Type="Int32" />
        <asp:Parameter Name="GlobalID" Type="String" />
        <asp:Parameter Name="StudentNameFirst" Type="String" />
        <asp:Parameter Name="StudentNameLast" Type="String" />
        <asp:Parameter Name="DateOfBirth" Type="DateTime" />
        <asp:Parameter Name="Address1" Type="String" />
        <asp:Parameter Name="Address2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="ParentNameFirst" Type="String" />
        <asp:Parameter Name="ParentNameLast" Type="String" />
    </UpdateParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" DefaultValue="-1" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" Name="DistrictID" PropertyName="Value" DefaultValue="-1" Type="Int32" />
    </SelectParameters>
    <InsertParameters>
        <asp:Parameter Name="GlobalID" Type="String" />
        <asp:Parameter Name="StudentNameFirst" Type="String" />
        <asp:Parameter Name="StudentNameLast" Type="String" />
        <asp:Parameter Name="DateOfBirth" Type="DateTime" />
        <asp:Parameter Name="Address1" Type="String" />
        <asp:Parameter Name="Address2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="ParentNameFirst" Type="String" />
        <asp:Parameter Name="ParentNameLast" Type="String" />
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" Type="Int32" />
    </InsertParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsStudentUA" runat="server"
    OldValuesParameterFormatString="{0}" TypeName="dsTESTSCORINGTableAdapters.RealStudentTableAdapter"
    DeleteMethod="Delete" InsertMethod="InsertWithVendorAssoc" SelectMethod="GetDataByUAVendorDistrict" UpdateMethod="Update" >
    <DeleteParameters>
        <asp:Parameter Name="rStudentID" Type="Int32" />
    </DeleteParameters>
    <UpdateParameters>
        <asp:Parameter Name="rStudentID" Type="Int32" />
        <asp:Parameter Name="GlobalID" Type="String" />
        <asp:Parameter Name="StudentNameFirst" Type="String" />
        <asp:Parameter Name="StudentNameLast" Type="String" />
        <asp:Parameter Name="DateOfBirth" Type="DateTime" />
        <asp:Parameter Name="Address1" Type="String" />
        <asp:Parameter Name="Address2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="ParentNameFirst" Type="String" />
        <asp:Parameter Name="ParentNameLast" Type="String" />
    </UpdateParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" DefaultValue="-1" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" Name="DistrictID" PropertyName="Value" DefaultValue="-1" Type="Int32" />
    </SelectParameters>
    <InsertParameters>
        <asp:Parameter Name="GlobalID" Type="String" />
        <asp:Parameter Name="StudentNameFirst" Type="String" />
        <asp:Parameter Name="StudentNameLast" Type="String" />
        <asp:Parameter Name="DateOfBirth" Type="DateTime" />
        <asp:Parameter Name="Address1" Type="String" />
        <asp:Parameter Name="Address2" Type="String" />
        <asp:Parameter Name="City" Type="String" />
        <asp:Parameter Name="State" Type="String" />
        <asp:Parameter Name="Zip" Type="String" />
        <asp:Parameter Name="Phone1" Type="String" />
        <asp:Parameter Name="Phone2" Type="String" />
        <asp:Parameter Name="Email" Type="String" />
        <asp:Parameter Name="ParentNameFirst" Type="String" />
        <asp:Parameter Name="ParentNameLast" Type="String" />
        <asp:ControlParameter ControlID="curVendorID" Name="VendorID" PropertyName="Value" Type="Int32" />
    </InsertParameters>
</asp:ObjectDataSource>

<asp:ObjectDataSource ID="odsClass" runat="server" TypeName="dsTESTSCORINGTableAdapters.RealClassLookupTableAdapter"
    OldValuesParameterFormatString="original_{0}" SelectMethod="GetDataByFilter" EnableViewState="False" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery">
    <DeleteParameters>
        <asp:Parameter Name="rClassID" Type="Int32" />
    </DeleteParameters>
    <UpdateParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="-1" Name="VendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="-1" Name="DistrictID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curUserID" DefaultValue="11" Name="UserID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curSiteID" DefaultValue="-1" Name="SiteID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTeacherID" DefaultValue="-1" Name="TeacherID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTitle" DefaultValue="" Name="Title" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curSubject" DefaultValue="" Name="Subject" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curPeriod" DefaultValue="" Name="Period" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curDateStart" DefaultValue="" Name="DateStart" PropertyName="Value" Type="datetime" />
        <asp:ControlParameter ControlID="curDateEnd" DefaultValue="" Name="DateEnd" PropertyName="Value" Type="datetime" />
    </UpdateParameters>
    <SelectParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="-1" Name="VendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="-1" Name="DistrictID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curUserID" DefaultValue="11" Name="UserID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curSiteID" DefaultValue="-1" Name="SiteID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTeacherID" DefaultValue="-1" Name="TeacherID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTitle" DefaultValue="" Name="Title" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curSubject" DefaultValue="" Name="Subject" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curPeriod" DefaultValue="" Name="Period" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curDateStart" DefaultValue="" Name="DateStart" PropertyName="Value" Type="datetime" />
        <asp:ControlParameter ControlID="curDateEnd" DefaultValue="" Name="DateEnd" PropertyName="Value" Type="datetime" />
    </SelectParameters>
    <InsertParameters>
        <asp:ControlParameter ControlID="curVendorID" DefaultValue="-1" Name="VendorID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curDistrictID" DefaultValue="-1" Name="DistrictID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curUserID" DefaultValue="11" Name="UserID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curSiteID" DefaultValue="-1" Name="SiteID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTeacherID" DefaultValue="-1" Name="TeacherID" PropertyName="Value" Type="Int32" />
        <asp:ControlParameter ControlID="curTitle" DefaultValue="" Name="Title" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curSubject" DefaultValue="" Name="Subject" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curPeriod" DefaultValue="" Name="Period" PropertyName="Value" Type="string" />
        <asp:ControlParameter ControlID="curDateStart" DefaultValue="" Name="DateStart" PropertyName="Value" Type="datetime" />
        <asp:ControlParameter ControlID="curDateEnd" DefaultValue="" Name="DateEnd" PropertyName="Value" Type="datetime" />
    </InsertParameters>
</asp:ObjectDataSource>

<asp:UpdatePanel ID="upDvStudent" runat="server">
    <ContentTemplate>
        <asp:Panel ID="pnlStudentDetails" runat="server" Width="600px" HorizontalAlign="right" style="display:none;">
            <asp:ImageButton  ID="btnDvStudentClose" runat="server" ImageUrl="/images/CloseButton.png" style="position:relative; top:28px; left:3px;"/>
            <div style="padding:0px; background-color:White; border:solid 3px darkblue; text-align:center;">
                <asp:Label ID="lblStudentDetails" runat="server" Width="600px" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal; cursor: move;" Font-Size="Smaller" Text="Selected Student Details" />
                <asp:DetailsView ID="dvStudent" runat="server" Height="50px" Width="600px" AutoGenerateRows="False" DataKeyNames="rStudentID" DataSourceID="odsStudent"
                    CellPadding="4" ForeColor="#333333" GridLines="Both" AutoGenerateEditButton="True" AutoGenerateInsertButton="True" Font-Size="Small" style="text-align:center;">
                   
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
                    <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" HorizontalAlign="Center" />
                    <EditRowStyle BackColor="#999999" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" Font-Size="Smaller" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True"  Width="40%"  />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Fields>
                        <asp:BoundField DataField="GlobalID" HeaderText="GlobalID" SortExpression="GlobalID" />
                        <asp:BoundField DataField="StudentNameFirst" HeaderText="First Name" SortExpression="StudentNameFirst" />
                        <asp:BoundField DataField="StudentNameLast" HeaderText="Last Name" SortExpression="StudentNameLast" />
                        <asp:BoundField DataField="DateOfBirth" HeaderText="Date Of Birth" SortExpression="DateOfBirth" ApplyFormatInEditMode="true" DataFormatString="{0:d}" />
                        <asp:BoundField DataField="Address1" HeaderText="Address1" SortExpression="Address1" />
                        <asp:BoundField DataField="Address2" HeaderText="Address2" SortExpression="Address2" />
                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                        <asp:BoundField DataField="State" HeaderText="State" SortExpression="State" />
                        <asp:BoundField DataField="Zip" HeaderText="Zip" SortExpression="Zip" />
                        <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                        <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                        <asp:BoundField DataField="ParentNameFirst" HeaderText="Contact First Name" SortExpression="ParentNameFirst" />
                        <asp:BoundField DataField="ParentNameLast" HeaderText="Contact Last Name" SortExpression="ParentNameLast" />
                        <asp:BoundField DataField="Phone2" HeaderText="Phone2" SortExpression="Phone2" />
                    </Fields>
                    <EmptyDataTemplate>
                        <asp:DetailsView ID="dvStudentNew" runat="server" Height="50px" Width="100%" AutoGenerateRows="False" DataKeyNames="rStudentID" DataSourceID="odsStudent" Style="margin:0;"
                            CellPadding="4" ForeColor="#333333" GridLines="Both" AutoGenerateEditButton="True" AutoGenerateInsertButton="True" Font-Size="Small" DefaultMode="Insert">
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" HorizontalAlign="Center" />
                            <EditRowStyle BackColor="#999999" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" Font-Size="Smaller" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True"  Width="40%"  />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Fields>
                                <asp:BoundField DataField="GlobalID" HeaderText="GlobalID" SortExpression="GlobalID" />
                                <asp:BoundField DataField="StudentNameFirst" HeaderText="StudentNameFirst" SortExpression="StudentNameFirst" />
                                <asp:BoundField DataField="StudentNameLast" HeaderText="StudentNameLast" SortExpression="StudentNameLast" />
                                <asp:BoundField DataField="DateOfBirth" HeaderText="DateOfBirth" SortExpression="DateOfBirth"  ApplyFormatInEditMode="true" DataFormatString="{0:d}" />
                                <asp:BoundField DataField="Address1" HeaderText="Address1" SortExpression="Address1" />
                                <asp:BoundField DataField="Address2" HeaderText="Address2" SortExpression="Address2" />
                                <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                <asp:BoundField DataField="State" HeaderText="State" SortExpression="State" />
                                <asp:BoundField DataField="Zip" HeaderText="Zip" SortExpression="Zip" />
                                <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                                <asp:BoundField DataField="Phone2" HeaderText="Phone2" SortExpression="Phone2" />
                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                                <asp:BoundField DataField="ParentNameFirst" HeaderText="ParentNameFirst" SortExpression="ParentNameFirst" />
                                <asp:BoundField DataField="ParentNameLast" HeaderText="ParentNameLast" SortExpression="ParentNameLast" />
                            </Fields>
                        </asp:DetailsView>
                    </EmptyDataTemplate>
                </asp:DetailsView>
            </div>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>

<asp:UpdatePanel ID="upDvTeacher" runat="server">
    <ContentTemplate>
        <asp:Panel ID="pnlDvTeacherDetails" runat="server" Width="600px" HorizontalAlign="right" style="display:none;">
            <asp:ImageButton  ID="btnDvTeacherClose" runat="server" ImageUrl="/images/CloseButton.png" style="position:relative; top:28px; left:3px;"/>
            <div style="padding:0px; background-color:White; border:solid 3px darkblue; text-align:center;">
                <asp:Label ID="lblVendorDetails" runat="server" Width="600px" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal; cursor:move;" Font-Size="Smaller" Text="Selected Teacher Details" />
                <asp:DetailsView ID="dvTeacher" runat="server" Height="50px" Width="600px" AutoGenerateRows="False" DataKeyNames="rTeacherID" DataSourceID="odsTeacher"
                    CellPadding="4" ForeColor="#333333" GridLines="Both" AutoGenerateEditButton="True"
                    AutoGenerateInsertButton="True" Font-Size="Small">
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" HorizontalAlign="Center" />
                    <EditRowStyle BackColor="#999999" />
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" Font-Size="Smaller" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True"  Width="40%"  />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                    <Fields>
                        <asp:BoundField DataField="UniqueID" HeaderText="UniqueID" SortExpression="UniqueID" />
                        <asp:BoundField DataField="NameFirst" HeaderText="NameFirst" SortExpression="NameFirst" />
                        <asp:BoundField DataField="NameLast" HeaderText="NameLast" SortExpression="NameLast" />
                        <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                        <asp:BoundField DataField="Phone2" HeaderText="Phone2" SortExpression="Phone2" />
                        <asp:BoundField DataField="Addr1" HeaderText="Addr1" SortExpression="Addr1" />
                        <asp:BoundField DataField="Addr2" HeaderText="Addr2" SortExpression="Addr2" />
                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                        <asp:BoundField DataField="State" HeaderText="State" SortExpression="State" />
                        <asp:BoundField DataField="Zip" HeaderText="Zip" SortExpression="Zip" />
                        <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                        <asp:BoundField DataField="Notes" HeaderText="Notes" SortExpression="Notes" />
                    </Fields>
                    <EmptyDataTemplate>
                        <asp:DetailsView ID="dvTeacher" runat="server" Height="50px" Width="100%" AutoGenerateRows="False" DataKeyNames="rTeacherID" DataSourceID="odsTeacher"
                            CellPadding="4" ForeColor="#333333" AutoGenerateEditButton="True"
                            AutoGenerateInsertButton="True" Font-Size="Small" DefaultMode="Insert">
                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" HorizontalAlign="Center" />
                            <EditRowStyle BackColor="#999999" />
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" Font-Size="Smaller" />
                            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                            <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True"  Width="40%"  />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                            <Fields>
                                <asp:BoundField DataField="rTeacherID" HeaderText="rTeacherID" InsertVisible="False"
                                    ReadOnly="True" SortExpression="rTeacherID" />
                                <asp:BoundField DataField="UniqueID" HeaderText="UniqueID" SortExpression="UniqueID" />
                                <asp:BoundField DataField="NameFirst" HeaderText="NameFirst" SortExpression="NameFirst" />
                                <asp:BoundField DataField="NameLast" HeaderText="NameLast" SortExpression="NameLast" />
                                <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                                <asp:BoundField DataField="Phone2" HeaderText="Phone2" SortExpression="Phone2" />
                                <asp:BoundField DataField="Addr1" HeaderText="Addr1" SortExpression="Addr1" />
                                <asp:BoundField DataField="Addr2" HeaderText="Addr2" SortExpression="Addr2" />
                                <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                <asp:BoundField DataField="State" HeaderText="State" SortExpression="State" />
                                <asp:BoundField DataField="Zip" HeaderText="Zip" SortExpression="Zip" />
                                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                                <asp:BoundField DataField="Notes" HeaderText="Notes" SortExpression="Notes" />
                            </Fields>
                        </asp:DetailsView>
                    </EmptyDataTemplate>
                </asp:DetailsView>
            </div>
        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>

<table style="width:100%; font-size:smaller; ">
    <tr>
        <td style="text-align:left; vertical-align:top; width:25%;">
            <asp:Panel ID="pnltvVendorTeacher" runat="server" ScrollBars="Auto" Height="600px"
                Width="100%">
                <asp:UpdatePanel ID="upDistrictTree" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
                    <ContentTemplate>
                        <asp:TreeView ID="tvVendorTeacher" runat="server" Width="100%"
                            SelectedNodeStyle-Font-Bold="true" SelectedNodeStyle-Font-Underline="True" SelectedNodeStyle-Font-Italic="true"
                            SelectedNodeStyle-ForeColor="Black">
                        </asp:TreeView>
                        <asp:HiddenField ID="curDistrictID" runat="server" Value="-1" EnableViewState="true" />
                        <asp:HiddenField ID="curVendorID" runat="server" Value="-1" EnableViewState="true" />
                        <asp:HiddenField ID="curSiteID" runat="server" Value="-1" EnableViewState="true" />
                        <asp:HiddenField ID="curTeacherID" runat="server" Value="-1" EnableViewState="true" />
                        <asp:HiddenField ID="curUserID" runat="server" Value="0" EnableViewState="false" />
                        <asp:HiddenField ID="curTitle" runat="server" Value="" EnableViewState="true" />
                        <asp:HiddenField ID="curSubject" runat="server" Value="" EnableViewState="true" />
                        <asp:HiddenField ID="curPeriod" runat="server" Value="" EnableViewState="true" />
                        <asp:HiddenField ID="curDateStart" runat="server" Value="" EnableViewState="true" />
                        <asp:HiddenField ID="curDateEnd" runat="server" Value="" EnableViewState="true" />
                        <asp:HiddenField ID="curClassID" runat="server" Value="-1" EnableViewState="true" />
                    </ContentTemplate>
                </asp:UpdatePanel>
            </asp:Panel>
        </td>
        <td style="text-align:center; vertical-align:top;">
            <asp:UpdatePanel ID="upSites" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">

                <ContentTemplate>
                    <style type="text/css">
                        .ajax__tab_default .ajax__tab_inner {height : 100%;}
                        .ajax__tab_default .ajax__tab_tab {height : 100%;}

                        .ajax__tab_xp .ajax__tab_hover .ajax__tab_tab {height : 100%;}
                        .ajax__tab_xp .ajax__tab_active .ajax__tab_tab {height : 100%;}

                        .ajax__tab_xp .ajax__tab_inner {height : 100%;}
                        .ajax__tab_xp .ajax__tab_tab {height:100%}
                        .ajax__tab_xp .ajax__tab_hover .ajax__tab_inner {height : 100%;}
                        .ajax__tab_xp .ajax__tab_active .ajax__tab_inner {height : 100%;}
                       
                        input.btnBlue{font-size:smaller; font-weight:bold;}
                       
                        .unwatermarked {
                            height:20px;
                            width:99%;
                            font-weight:bold;
                        }

                        .watermarked {
                            height:20px;
                            width:99%;
                            padding:0 0 0 2px;
                            border:1px solid #BEBEBE;
                            background-color:#F0F8FF;
                            color:#AAAADD;
                            line-height:20px;
                            vertical-align:middle;
                        }
                       
                        .unwatermarked80 {
                            height:20px;
                            width:80%;
                            font-weight:bold;
                        }

                        .watermarked80 {
                            height:20px;
                            width:80%;
                            padding:0 0 0 2px;
                            border:1px solid #BEBEBE;
                            background-color:#F0F8FF;
                            color:#AAAADD;
                            line-height:20px;
                            vertical-align:middle;
                        } 

                        .validatorCalloutHighlight
                        {
                            background-color: lemonchiffon;
                        }
                    </style>
                    <ajaxToolkit:TabContainer ID="tcMain" runat="server">
                        <ajaxToolkit:TabPanel ID="tabSites" runat="server">
                            <HeaderTemplate>Sites</HeaderTemplate>
                            <ContentTemplate>
                                <asp:Label ID="lblSelectVendor" runat="server" Width="100%" BorderStyle="solid" BorderColor="red" BackColor="red" ForeColor="white" style="width:100%; padding:10px; text-align:center; font-weight:bold;" Text="Select a DISTRICT, VENDOR, or SITE from the list at the left to enable this field"/>
                                <asp:Table ID="tblSites" runat="server" style="width:100%; height:540px; text-align:center;">
                                    <asp:TableRow>
                                        <asp:TableCell Height="270px" VerticalAlign="top">
                                            <asp:Label ID="lblSitesAssoc" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="width:100%; text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Sites associated with selected district/vendor" visible="true"/>
                                            <asp:GridView ID="gvSites" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                                                AllowPaging="True" DataSourceID="odsTestScoring" Width="100%" PageSize="9" EnableViewState="True"
                                                BorderStyle="None" Font-Size="smaller" visible="true" AllowSorting="True">
                                                <Columns>
                                                    <asp:ButtonField ButtonType="Button"  Text="Rem" HeaderText="Remove" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                    </asp:ButtonField>
                                                    <asp:BoundField DataField="ID" HeaderText="Site ID" InsertVisible="False" ReadOnly="True"
                                                        SortExpression="ID">
                                                        <ItemStyle Font-Bold="True" ForeColor="DarkGray" HorizontalAlign="Center" Width="60px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="SITE_CODE" HeaderText="Site Code" SortExpression="SITE_CODE">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="SITE_NAME" HeaderText="Site Name" SortExpression="SITE_NAME" />
                                                </Columns>
                                                <PagerSettings Mode="NumericFirstLast" Position="Bottom" />
                                                <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" />
                                                <AlternatingRowStyle BackColor="#E0E0E0" />
                                                <SelectedRowStyle Font-Bold="true" BorderWidth="2px" />
                                                <EmptyDataTemplate>
                                                    <div style="padding:10px; font-weight:bold; text-align:center;">No records - Add from below</div>
                                                </EmptyDataTemplate>
                                            </asp:GridView>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell Height="270px" VerticalAlign="top">
                                            <asp:Label ID="lblSitesDisAssoc" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Sites not associated with selected district/vendor" visible="true"/>
                                            <asp:GridView ID="gvUASites" runat="server" AutoGenerateColumns="False" DataKeyNames="ID"
                                            AllowPaging="True" DataSourceID="odsTestScoringUA" Width="100%" PageSize="9" EnableViewState="true"
                                            BorderStyle="None" Font-Size="Smaller" visible="true" AllowSorting="True">
                                                <Columns>
                                                    <asp:ButtonField ButtonType="Button"  Text="Add" HeaderText="Add" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                    </asp:ButtonField>
                                                    <asp:BoundField DataField="ID" HeaderText="Site ID" InsertVisible="False" ReadOnly="True"
                                                        SortExpression="ID">
                                                        <ItemStyle Font-Bold="True" ForeColor="DarkGray" HorizontalAlign="Center" Width="60px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="SITE_CODE" HeaderText="Site Code" SortExpression="SITE_CODE">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="SITE_NAME" HeaderText="Site Name" SortExpression="SITE_NAME" />
                                                </Columns>
                                                <PagerSettings Mode="NumericFirstLast" Position="Bottom" />
                                                <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" />
                                                <AlternatingRowStyle BackColor="#E0E0E0" />
                                                <SelectedRowStyle Font-Bold="true" BorderWidth="2px" />
                                                <EmptyDataTemplate>
                                                    <div style="padding:10px; font-weight:bold; text-align:center;">No records - Add from below</div>
                                                </EmptyDataTemplate>
                                            </asp:GridView>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
                        <ajaxToolkit:TabPanel ID="tabVendor" runat="server">
                            <HeaderTemplate>Teachers</HeaderTemplate>
                            <ContentTemplate>
                                <asp:Label ID="lblSelectDistrict" runat="server" Width="100%" BorderStyle="solid" BorderColor="red" BackColor="Red" ForeColor="white" style=" padding:10px; text-align:center; font-weight:bold;" Text="Select a DISTRICT, VENDOR, or SITE from the list at the left to enable this field" />
                                <asp:Table ID="tblVendor" runat="server" style="width:100%; height:540px; text-align:center;">
                                    <asp:TableRow>
                                        <asp:TableCell Width="100%" Height="270px" VerticalAlign="top">                                          
                                            <asp:Panel ID="pnlGvTeacher" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblVendorAA" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Teachers associated with selected district"/>
                                                <asp:GridView ID="gvTeacher" runat="server" AutoGenerateColumns="False"
                                                    DataKeyNames="rTeacherID" DataSourceID="odsTeacher" EnableViewState="true" AllowPaging="True" PageSize="9"
                                                    AllowSorting="True" style="width:100%; border:none; text-align:center; font-size:smaller;">
                                                    <HeaderStyle BackColor="#E0E0E0" />
                                                    <SelectedRowStyle Font-Bold="true" BorderWidth="2px" />
                                                    <Columns>
                                                        <asp:ButtonField ButtonType="Button"  Text="Rem" HeaderText="Remove" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:ButtonField>
                                                        <asp:BoundField DataField="UniqueID" HeaderText="UniqueID" SortExpression="UniqueID" />
                                                        <asp:BoundField DataField="NameFirst" HeaderText="NameFirst" SortExpression="NameFirst" />
                                                        <asp:BoundField DataField="NameLast" HeaderText="NameLast" SortExpression="NameLast" />
                                                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                                        <asp:CommandField ShowSelectButton="true" HeaderText="Details" SelectText="Select" ButtonType="Button" ItemStyle-Width="5%">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:CommandField>
                                                    </Columns>
                                                    <PagerSettings Mode="NumericFirstLast" Position="Bottom" />
                                                    <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" Font-Underline="true" />
                                                    <AlternatingRowStyle BackColor="#E0E0E0"  HorizontalAlign="center" />
                                                    <RowStyle BackColor="white" HorizontalAlign="center" />
                                                    <EmptyDataTemplate>
                                                        <div style="padding:10px; font-weight:bold; text-align:center;">No records - Add from below</div>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell VerticalAlign="top" Height="270px">
                                            <asp:Panel ID="pnlGvTeacherUA" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblVendorDD" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal; height:26px;" Font-Size="Smaller" Text="Teachers available for association with selected District" />
                                                <div style="font-weight:bold; text-align:right; vertical-align:middle; font-size:smaller; margin-top:-23px; margin-right:2px; padding-bottom:3px;">
                                                    <asp:Button ID="btnTeacherDetails3" Text=" Add New " runat="Server" CssClass="btnBlue"/>
                                                </div>
                                                <asp:GridView ID="gvTeacherUA" runat="server" AutoGenerateColumns="False"
                                                    DataKeyNames="rTeacherID" DataSourceID="odsTeacherUA" EnableViewState="true"
                                                    AllowPaging="True"  PageSize="9"  AllowSorting="True" style="width:100%; border:none; text-align:center; font-size:smaller;">
                                                    <HeaderStyle BackColor="#E0E0E0" />
                                                    <SelectedRowStyle Font-Bold="true" BorderWidth="2px" />
                                                    <Columns>
                                                        <asp:ButtonField ButtonType="Button"  Text="Add" HeaderText="Add" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:ButtonField>
                                                        <asp:BoundField DataField="UniqueID" HeaderText="UniqueID" SortExpression="UniqueID" />
                                                        <asp:BoundField DataField="NameFirst" HeaderText="NameFirst" SortExpression="NameFirst" />
                                                        <asp:BoundField DataField="NameLast" HeaderText="NameLast" SortExpression="NameLast" />
                                                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                                        <asp:CommandField ShowSelectButton="true" HeaderText="Details" SelectText="Select" ButtonType="Button" ItemStyle-Width="5%">
                                                            <ControlStyle Font-Size="smaller" Font-Bold="true" />
                                                        </asp:CommandField>
                                                    </Columns>
                                                    <PagerSettings Mode="NumericFirstLast" Position="Bottom" />
                                                    <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" />
                                                    <AlternatingRowStyle BackColor="#E0E0E0"  HorizontalAlign="center" />
                                                    <RowStyle BackColor="white" HorizontalAlign="center" />
                                                    <EmptyDataTemplate>
                                                        <div style="padding:10px; font-weight:bold; text-align:center; vertical-align:middle;">
                                                            <asp:Button ID="btnTeacherDetails" Text="Add New Record" runat="Server" Font-Size="small" Font-Bold="true" ForeColor="red"/>
                                                            <ajaxToolkit:ModalPopupExtender ID="modalDvTeacher2" runat="server" BackgroundCssClass="modalBackground"
                                                                TargetControlID="btnTeacherDetails" PopupControlID="pnlDvTeacherDetails" PopupDragHandleControlID="lblVendorDetails"
                                                                CancelControlID="btnFakeCancelTeacher" X="300" Y="50"/>
                                                            <asp:Button ID="btnFakeCancelTeacher" runat="server" Text="x" style="visibility:hidden;" />
                                                        </div>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                                <div style="text-align:right; display:none;"><asp:Button ID="btnTeacherDetails2" Text="Show Details / Add New" runat="Server" Font-Size="smaller" ForeColor="blue"/></div>
                                                <ajaxToolkit:ModalPopupExtender ID="modalDvTeacher" runat="server" BackgroundCssClass="modalBackground"
                                                    TargetControlID="btnTeacherDetails2" PopupControlID="pnlDvTeacherDetails" PopupDragHandleControlID="lblVendorDetails"
                                                    CancelControlID="btnFakeCancelTeacher2" X="300" Y="50"/>
                                                <asp:Button ID="btnFakeCancelTeacher2" runat="server" Text="x" style="visibility:hidden;" />
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
                        <ajaxToolkit:TabPanel ID="tabStudent" runat="server">
                            <HeaderTemplate>Students</HeaderTemplate>
                            <ContentTemplate>
                                <asp:Label ID="lblStudent" runat="server" Width="100%" BorderStyle="solid" BorderColor="red" BackColor="Red" ForeColor="white" style=" padding:10px; text-align:center; font-weight:bold;" Text="Select a DISTRICT, VENDOR, or SITE from the list at the left to enable this field" />
                                <asp:Table ID="tblStudent" runat="server" style="width:100%; height:540px; text-align:center;">
                                    <asp:TableRow>
                                        <asp:TableCell Width="100%" Height="270px" VerticalAlign="top">                                          
                                            <asp:Panel ID="pnlStudent" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblHeadStudents" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Students associated with selected district" />
                                                <asp:GridView ID="gvStudent" runat="server" AutoGenerateColumns="False" DataKeyNames="rStudentID" DataSourceID="odsStudent"
                                                    AllowPaging="True" PageSize="9"  AllowSorting="True" style="width:100%; border:none; text-align:center; font-size:smaller;">
                                                    <HeaderStyle BackColor="#E0E0E0" />
                                                    <SelectedRowStyle Font-Bold="True" BorderWidth="2px" />
                                                    <PagerSettings Mode="NumericFirstLast" />
                                                    <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" Font-Underline="True" />
                                                    <AlternatingRowStyle BackColor="#E0E0E0"  HorizontalAlign="Center" />
                                                    <RowStyle BackColor="White" HorizontalAlign="Center" />
                                                    <Columns>
                                                        <asp:ButtonField ButtonType="Button"  Text="Rem" HeaderText="Remove" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:ButtonField>
                                                        <asp:BoundField DataField="GlobalID" HeaderText="GlobalID" SortExpression="GlobalID" ItemStyle-Width="80px" />
                                                        <asp:BoundField DataField="StudentNameFirst" HeaderText="First Name" SortExpression="StudentNameFirst" />
                                                        <asp:BoundField DataField="StudentNameLast" HeaderText="Last Name" SortExpression="StudentNameLast" />
                                                        <asp:BoundField DataField="Address1" HeaderText="Address1" SortExpression="Address1" />
                                                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                                        <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                                                        <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                                                        <asp:CommandField ShowSelectButton="true" HeaderText="Details" SelectText="Select" ButtonType="Button" ItemStyle-Width="5%">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:CommandField>
                                                    </Columns>
                                                    <EmptyDataTemplate>
                                                        <div style="padding:10px; font-weight:bold; text-align:center;">No records - Add from below</div>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell VerticalAlign="top" Height="270px">
                                            <asp:Panel ID="pnlStudentUA" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblHeadStudentsUA" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Students available for association with selected District" />
                                                <div style="font-weight:bold; text-align:right; vertical-align:middle; font-size:smaller; margin-top:-23px; margin-right:2px; padding-bottom:3px;">
                                                    <asp:Button ID="btnStudentDetails3" Text=" Add New " runat="Server" CssClass="btnBlue"/>
                                                </div>
                                                <asp:GridView ID="gvStudentUA" runat="server" AutoGenerateColumns="False" DataKeyNames="rStudentID" DataSourceID="odsStudentUA"
                                                    AllowPaging="True" PageSize="9"  AllowSorting="True" style="width:100%; border:none; text-align:center; font-size:smaller;">
                                                    <HeaderStyle BackColor="#E0E0E0" />
                                                    <SelectedRowStyle Font-Bold="True" BorderWidth="2px" />
                                                    <PagerSettings Mode="NumericFirstLast" />
                                                    <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" Font-Underline="True" />
                                                    <AlternatingRowStyle BackColor="#E0E0E0"  HorizontalAlign="Center" />
                                                    <RowStyle BackColor="White" HorizontalAlign="Center" />
                                                    <Columns>
                                                        <asp:ButtonField ButtonType="Button"  Text="Add" HeaderText="Add" CommandName="Use">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:ButtonField>
                                                        <asp:BoundField DataField="GlobalID" HeaderText="GlobalID" SortExpression="GlobalID"  ItemStyle-Width="80px"/>
                                                        <asp:BoundField DataField="StudentNameFirst" HeaderText="First Name" SortExpression="StudentNameFirst" />
                                                        <asp:BoundField DataField="StudentNameLast" HeaderText="Last Name" SortExpression="StudentNameLast" />
                                                        <asp:BoundField DataField="Address1" HeaderText="Address1" SortExpression="Address1" />
                                                        <asp:BoundField DataField="City" HeaderText="City" SortExpression="City" />
                                                        <asp:BoundField DataField="Phone1" HeaderText="Phone1" SortExpression="Phone1" />
                                                        <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                                                        <asp:CommandField ShowSelectButton="true" HeaderText="Details" SelectText="Select" ButtonType="Button" ItemStyle-Width="5%">
                                                            <ControlStyle CssClass="btnBlue" />
                                                            <ItemStyle Width="70px" HorizontalAlign="center" />
                                                        </asp:CommandField>
                                                    </Columns>
                                                    <EmptyDataTemplate>
                                                        <div style="padding:10px; font-weight:bold; text-align:center; vertical-align:middle;">
                                                            <asp:Button ID="btnDvStudentDetails" Text="Add New Record" runat="Server" Font-Size="small" Font-Bold="true" ForeColor="red"/>
                                                            <ajaxToolkit:ModalPopupExtender ID="modalDvStudent2" runat="server" BackgroundCssClass="modalBackground"
                                                                TargetControlID="btnDvStudentDetails" PopupControlID="pnlStudentDetails" PopupDragHandleControlID="lblStudentDetails"
                                                                CancelControlID="btnFakeCancelStudent" X="300" Y="50"/>
                                                            <asp:Button ID="btnFakeCancelStudent" runat="server" Text="x" style="visibility:hidden;" />
                                                        </div>
                                                    </EmptyDataTemplate>
                                                </asp:GridView>
                                                <div style="text-align:right; visibility:hidden;"><asp:Button ID="btnDvStudentDetails2" Text="Show Details / Add New" runat="Server" Font-Size="smaller" ForeColor="blue"/></div>
                                                <ajaxToolkit:ModalPopupExtender ID="modalDvStudent" runat="server" BackgroundCssClass="modalBackground"
                                                    TargetControlID="btnDvStudentDetails2" PopupControlID="pnlStudentDetails" PopupDragHandleControlID="lblStudentDetails"
                                                    CancelControlID="btnFakeCancelStudent2" X="300" Y="50"/>
                                                <asp:Button ID="btnFakeCancelStudent2" runat="server" Text="x" style="visibility:hidden;" />
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
                        <ajaxToolkit:TabPanel ID="tabClass" runat="server">
                            <HeaderTemplate>Classes</HeaderTemplate>
                            <ContentTemplate>
                                <asp:Label ID="lblClassSelectVendor" runat="server" Width="100%" BorderStyle="solid" BorderColor="red" BackColor="Red" ForeColor="white" Visible="true" style=" padding:10px; text-align:center; font-weight:bold;" Text="Select a SITE from the list at the left to enable this field" />
                                <asp:Table ID="tblClass" runat="server" style="width:100%; height:540px; text-align:center;">
                                    <asp:TableRow>
                                        <asp:TableCell Width="100%" Height="270px" VerticalAlign="top">                                          
                                            <asp:Panel ID="pnlClassVariables" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblClassCreate" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Search for classes or create a new one" />
                                                <div style="font-weight:bold; text-align:left; vertical-align:middle; font-size:smaller; margin-top:-23px; margin-left:2px; padding-bottom:3px;">
                                                    <asp:Button ID="btnClassSearch" Text=" Search " runat="Server" CssClass="btnBlue"/>
                                                </div>
                                                <div style="font-weight:bold; text-align:right; vertical-align:middle; font-size:smaller; margin-top:-23px; margin-right:2px; padding-bottom:3px;">
                                                    <asp:Button ID="btnClassNew" Text=" Create " runat="Server" CssClass="btnBlue" Enabled="false"/>
                                                </div>
                                                <asp:UpdatePanel ID="upClassVariables" runat="server" UpdateMode="conditional">
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="tvVendorTeacher" EventName="SelectedNodeChanged" />
                                                    </Triggers>
                                                    <ContentTemplate>

                                                        <div style="padding:5px; vertical-align:top;">
                                                            <div style="float:left; margin-right:10px; width:20%;">
                                                                <asp:Label ID="lblSelTeacher" runat="server" Width="70px" ForeColor="darkBlue" Text="Teacher:" style="font-size:90%; font-weight:bold; vertical-align:top; margin-bottom:4px; " /><br />
                                                                <asp:ListBox ID="ddlClassTeacher" runat="server" AppendDataBoundItems="True" AutoPostBack="True" Rows="12" SelectionMode="Single">
                                                                    <asp:ListItem Selected="True" Value="-1">[Any]</asp:ListItem>
                                                                </asp:ListBox>
                                                            </div>
                                                            <div style="float:left;">
                                                                <asp:Label ID="lblSelSite" runat="server" ForeColor="darkBlue" Text="Title: " style="font-size:90%; font-weight:bold; vertical-align:top; margin-bottom:4px; " /><asp:RequiredFieldValidator ID="txtClassTitleRF" runat="server" ControlToValidate="txtClassTitle" Display="dynamic" ErrorMessage="<strong>[Required to create a class]</strong>" style="margin-left:5px; font-size:80%;" /><br />
                                                                <asp:TextBox ID="txtClassTitle" runat="server" CssClass="unwatermarked" /><ajaxToolkit:TextBoxWatermarkExtender ID="txtClassTitleWME" runat="server" TargetControlID="txtClassTitle" WatermarkText="[Title required to create class, optional for a search.]" WatermarkCssClass="watermarked"  />

                                                                <div style="width:49%; float:left;">
                                                                    <asp:Label ID="lblSubject" runat="server" Width="150px" ForeColor="darkBlue" Text="Subject: " style="font-size:90%; font-weight:bold; vertical-align:top; margin-top:10px; margin-bottom:4px; " /><br />
                                                                    <asp:TextBox ID="txtClassSubject" runat="server" CssClass="unwatermarked80" /><ajaxToolkit:TextBoxWatermarkExtender ID="txtClassSubjectWME" runat="server" TargetControlID="txtClassSubject" WatermarkText="[optional]" WatermarkCssClass="watermarked80"  />
                                                                </div>

                                                                <div style="width:49%; float:left;">
                                                                    <asp:Label ID="lblPeriod" runat="server" Width="150px" ForeColor="darkBlue" Text="Period: " style="font-size:90%; font-weight:bold; vertical-align:top; margin-top:10px; margin-bottom:4px; " /><br />
                                                                    <asp:TextBox ID="txtClassPeriod" runat="server" CssClass="unwatermarked80" /><ajaxToolkit:TextBoxWatermarkExtender ID="txtClassPeriodWME" runat="server" TargetControlID="txtClassPeriod" WatermarkText="[optional]" WatermarkCssClass="watermarked80"  />
                                                                </div>
                                                               
                                                                <div style="width:49%; float:left;">
                                                                    <div style="float:none;">
                                                                        <asp:Label ID="lblDateStart" runat="server" Width="150px" ForeColor="darkBlue" Text="Start Date: " style="font-size:90%; font-weight:bold; vertical-align:top; margin-top:10px; margin-bottom:4px; " /><br />
                                                                        <asp:TextBox ID="txtDateStart" runat="server" CssClass="unwatermarked80" /><ajaxToolkit:TextBoxWatermarkExtender ID="txtDateStartWME" runat="server" TargetControlID="txtDateStart" WatermarkText="[Required to create class]" WatermarkCssClass="watermarked80"  />
                                                                        <ajaxToolkit:CalendarExtender ID="txtDateStartCE" runat="server" TargetControlID="txtDateStart" Format="yyyy-MM-dd" CssClass="MyCalendar" Enabled="false" />
                                                                    </div>
                                                                </div>
                                                               
                                                                <div style="width:49%; float:left;">
                                                                    <asp:Label ID="lblDateEnd" runat="server" Width="150px" ForeColor="darkBlue" Text="End Date: " style="font-size:90%; font-weight:bold; vertical-align:top; margin-top:10px; margin-bottom:4px; " /><br />
                                                                    <asp:TextBox ID="txtDateEnd" runat="server" CssClass="unwatermarked80" /><ajaxToolkit:TextBoxWatermarkExtender ID="txtDateEndWME" runat="server" TargetControlID="txtDateEnd" WatermarkText="[optional]" WatermarkCssClass="watermarked80"  />
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                    <asp:TableRow>
                                        <asp:TableCell VerticalAlign="top" Height="270px">
                                            <asp:Panel ID="pnlClassExisting" runat="server" Width="100%" visible="true">
                                                <asp:Label ID="lblClassExist" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Existing classes" />
                                                <asp:UpdatePanel ID="upClassExisting" runat="server"  UpdateMode="conditional">
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="tvVendorTeacher" EventName="SelectedNodeChanged" />
                                                    </Triggers>
                                                    <ContentTemplate>
                                                        <asp:GridView ID="gvClassExist" runat="server" AutoGenerateColumns="False" DataKeyNames="rClassID" DataSourceID="odsClass"
                                                            AllowPaging="True" PageSize="9" AllowSorting="True" style="width:100%; border:none; text-align:center; font-size:smaller;">
                                                            <HeaderStyle BackColor="#E0E0E0" />
                                                            <SelectedRowStyle Font-Bold="True" BorderWidth="2px" Font-Size="87%" />
                                                            <PagerSettings Mode="NumericFirstLast" />
                                                            <PagerStyle Font-Bold="True" ForeColor="Black" HorizontalAlign="Center" Font-Underline="True" />
                                                            <AlternatingRowStyle BackColor="#E0E0E0"  HorizontalAlign="Center" />
                                                            <RowStyle BackColor="White" HorizontalAlign="Center" />
                                                            <Columns>
                                                                <asp:BoundField DataField="rClassID" HeaderText="rClassID" InsertVisible="False" ReadOnly="True" SortExpression="rClassID" visible="true" />
                                                                <asp:BoundField DataField="title" HeaderText="Title" SortExpression="title" />
                                                                <asp:BoundField DataField="period" HeaderText="Period" SortExpression="period" ItemStyle-Width="55" />
                                                                <asp:BoundField DataField="TeacherName" HeaderText="TeacherName" SortExpression="TeacherName" ItemStyle-Width="225" />
                                                                <asp:BoundField DataField="NameFirst" HeaderText="NameFirst" SortExpression="NameFirst" visible="true" />
                                                                <asp:BoundField DataField="NameLast" HeaderText="NameLast" SortExpression="NameLast" visible="true" />
                                                                <asp:BoundField DataField="UniqueID" HeaderText="UniqueID" SortExpression="UniqueID" ItemStyle-Width="100" visible="true" />
                                                                <asp:BoundField DataField="subject" HeaderText="Subject" SortExpression="subject" visible="true" />
                                                               
                                                                <asp:BoundField ApplyFormatInEditMode="True" DataField="dateStart" DataFormatString="{0:d}"
                                                                    HeaderText="StartDate" HtmlEncode="False" SortExpression="dateStart" ItemStyle-Width="70" />
                                                                   
                                                                <asp:BoundField ApplyFormatInEditMode="True" DataField="dateEnd" DataFormatString="{0:d}"
                                                                    HeaderText="EndDate" HtmlEncode="False" SortExpression="dateEnd" ItemStyle-Width="70" visible="true" />
                                                                                                                                       
                                                                <asp:BoundField DataField="districtName" HeaderText="districtName" SortExpression="districtName" visible="true"/>
                                                                <asp:BoundField DataField="districtAbv" HeaderText="districtAbv" SortExpression="districtAbv" visible="true"/>
                                                                <asp:BoundField DataField="vendorName" HeaderText="vendorName" SortExpression="vendorName" visible="true"/>
                                                                <asp:BoundField DataField="siteID" HeaderText="siteID" SortExpression="siteID" visible="true"/>
                                                                <asp:BoundField DataField="teacherID" HeaderText="teacherID" SortExpression="teacherID" visible="true" />
                                                                <asp:BoundField DataField="districtID" HeaderText="districtID" SortExpression="districtID" visible="true"/>
                                                                <asp:BoundField DataField="vendorID" HeaderText="vendorID" SortExpression="vendorID" visible="true"/>
                                                                <asp:CommandField ShowSelectButton="true" HeaderText="Details" SelectText="Select" ButtonType="Button" ItemStyle-Width="5%">
                                                                    <ControlStyle CssClass="btnBlue" />
                                                                    <ItemStyle Width="70px" HorizontalAlign="center" />
                                                                </asp:CommandField>
                                                            </Columns>
                                                        </asp:GridView>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </asp:Panel>
                                        </asp:TableCell>
                                    </asp:TableRow>
                                </asp:Table>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
                        <ajaxToolkit:TabPanel ID="tabEnrollment" runat="server">
                            <HeaderTemplate>Enrollment</HeaderTemplate>
                            <ContentTemplate>
                                <asp:UpdatePanel ID="upEnrollment" runat="server" UpdateMode="conditional">
                                    <ContentTemplate>
                                        <asp:Label ID="lblEnrollSelectVendor" runat="server" Width="100%" BorderStyle="solid" BorderColor="red" BackColor="Red" ForeColor="white" Visible="true" style=" padding:10px; text-align:center; font-weight:bold;" Text="Select a SITE from the list at the left to enable this field" />
                                        <asp:Table ID="tblEnroll" runat="server" visible="true" style="width:100%; height:510px; text-align:center;">
                                            <asp:TableRow>
                                                <asp:TableCell Width="270px" Height="50px" VerticalAlign="top">
                                                    <asp:Label ID="lblEnrollTeacherSel" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Select Teacher" /><br />
                                                    <asp:DropDownList ID="ddlEnrollTeacher" runat="server" AutoPostBack="True" Width="100%" style="margin-bottom:5px;" />
                                                </asp:TableCell>
                                                <asp:TableCell RowSpan="2">
                                                    <asp:Table ID="tblEnroll2" runat="server" style="width:100%; text-align:center;">
                                                        <asp:TableRow>
                                                            <asp:TableCell  Height="240px" VerticalAlign="top">
                                                                <asp:Label ID="lblEnrollStudentAvail" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Available Students" />
                                                                <asp:ListBox ID="lbEnrollStudentUA" runat="server" Rows="13" SelectionMode="Multiple" Width="100%" style="margin-bottom:0;" Font-Size="smaller" />
                                                            </asp:TableCell>
                                                        </asp:TableRow>
                                                        <asp:TableRow>
                                                            <asp:TableCell Height="10px" VerticalAlign="Top" HorizontalAlign="center">
                                                                <asp:Button ID="btnEnrollAdd" runat="server" Text=" ADD SELECTED " Font-Bold="true" />
                                                            </asp:TableCell>
                                                        </asp:TableRow>
                                                        <asp:TableRow>
                                                            <asp:TableCell  Height="240px" VerticalAlign="top">
                                                                <asp:Label ID="lblEnrollStudentEnrolled" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Enrolled Students" />
                                                                <asp:ListBox ID="lbEnrollStudent" runat="server" Rows="13" SelectionMode="Multiple" Width="100%" style="margin-bottom:0;" Font-Size="smaller" />                                                            </asp:TableCell>
                                                        </asp:TableRow>
                                                        <asp:TableRow>
                                                            <asp:TableCell Height="10px" VerticalAlign="Middle" HorizontalAlign="center">
                                                                <asp:Button ID="btnEnrollDel" runat="server" Text=" REMOVE SELECTED " Font-Bold="true" />
                                                            </asp:TableCell>
                                                        </asp:TableRow>
                                                    </asp:Table>
                                                </asp:TableCell>
                                            </asp:TableRow>
                                            <asp:TableRow>
                                                <asp:TableCell ID="tcEnrollClass" VerticalAlign="top" Height="490px" visible="true" style="padding-bottom:0;">
                                                    <asp:Label ID="lblEnrollClassSel" runat="server" Width="100%" BorderStyle="solid" BorderColor="darkblue" BackColor="darkblue" ForeColor="white" style="text-align:center; padding-bottom:2px; font-weight:normal;" Font-Size="Smaller" Text="Select Class" /><br />
                                                    <asp:ListBox ID="ddlClassEnroll" runat="server" AutoPostBack="True" Rows="29" SelectionMode="single" Width="100%" style="margin-bottom:0; border:0;" Font-Size="smaller" />
                                                </asp:TableCell>
                                            </asp:TableRow>
                                        </asp:Table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </ContentTemplate>
                        </ajaxToolkit:TabPanel>
                    </ajaxToolkit:TabContainer>
                </ContentTemplate>
            </asp:UpdatePanel>
        </td>
    </tr>
</table>

 
New Post
5/1/2007 8:57 AM
 

The web.config cannot be set to

<xhtmlConformance mode="Transitional" />

You need to take that line out.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/1/2007 9:21 AM
 

I took out the xhtmlconformance tag from web.config. Restarted dnn via the host menu. No change. My standalone page still works and passes validation (at least I only get the 3 alerts). The DNN page is still broken and still has 144 errors when I try to validate it.

 
New Post
5/1/2007 9:22 PM
 

Bump

 
New Post
5/1/2007 9:45 PM
 

Can you create a new install of DNN 4.51 and try again? The fact that you had the transitional in the web.config makes me think something is wrong with the install. Also you can download one of my tutorials and see if that code will run.

http://www.adefwebserver.com/DotNetNukeHELP/Misc/Dotnetnuke_AJAX_webservices.htm

If it wont run then the DNN install is messed up.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0ASP.Net 2.0 + AJAX 1.0 + AjaxToolKit + XHTML troublesASP.Net 2.0 + AJAX 1.0 + AjaxToolKit + XHTML troubles


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out