Hi Folks
I'm not even sure how to describe these problems to this group:
(my page has the tab control with 6 active tabs)
1. any click on the 2nd TabItem, renders only the 1st & 2nd tab enabled after it's been clicked (and there is no code behind setting this).
2. a post-back on the 2nd TabItem completes the required actions expected in code, but the tabitem is refreshed with a control(s) from the masterpage (and the one on the masterpage content disappears). in this case, it is an asp:menu which is dynamically built for each user/site login.
we are scratching our heads here...
thanks
Hello Scott,
Thank you for submitting your inquiry to the Infragistics ASP.Net Forums. Which version and build of NetAdvantage are you working with? Also, which tab control are you using, the classic WebTab or the Aikido WebTab?If possible, please attach your Markup code for the Master and Content Pages so we may take a closer look. If you would not prefer to attach your Markup on this thread, let me know and I can open a support request for this inquiry.Thank you.Sincerely,Mike D.Developer Support EngineerInfragisticswww.infragistics.com/support
hi mike
we are working with v10.3, WebTab
we'd love to give you the code, but may we ask you to open up a request so we can ship you the code privately?
we are also looking into 2 other issues:
1. changing tab settings in the VS designer creates additional (more than one) tags like these:
<postbackoptions enableajax="True" enableloadondemand="True" />
we are worried that we may be introducing additional/unwanted postbacks as a result of this
2. adding a webhtmleditor on a tab "pins" the build process to a tab... let me explain
a. you have 6 tabs on a webtab control
b. your place the webhtmleditor is on the first tab
c. you build the web solution while viewing a tab OTHER than the first tab in the VS Designer
d. web solution always crashes on this page load event here:
Me.WebHtmlEditor_SiteGeneralInformationEdit.SpellCheckerID = Me.WebSpellChecker1.ClientID
e. go back to tab#1 in VS Designer, ALL builds/runs fine
* OUR REALLY BIG CONCERN HERE, IS THAT IN AN ENVIRONMENT WITH MULTIPLE DEVELOPERS, NONE OF US KNOWS HOW (OR WHAT TAB IN THE VS DESIGNER) THE LAST DEVELOPER LEFT THE PAGE ON.
* OUR BUILD & DEPLOY PROCESS COULD RUN w/o ISSUE, BUT THE PAGES WITH THE CONDITIONS MENTIONED ABOVE COULD BE CRASHING ALL OVER THE PLACE IN PRODUCTION (without there actually being a software bug, just a build bug).
also, we would love to do a GoToMeeting to demonstrate.
nice thing about this, is that this is a VISUAL CONVERTION process for us (mostly).
These pages already are running in "vanilla" asp.net & ajax control.
Finally, our environment is VS 2010.
haven't heard a peep from anyone at Infragistics?
Hello,
What's the aspx markup code that you have currently for the WebTab?
Let me know if you have any questions with this matter. Thank you.
Sincerely,Duane HoytDeveloper Support Engineer, MCTSInfragisticshttp://ko.infragistics.com/support
here you go and thank you
we'd welcome the opportunity to demonstrate as well
<%@ Page Title="XYZ Training Site Viewer" Language="vb" AutoEventWireup="false" MasterPageFile="~/XYZ.Master" CodeBehind="TrainingSiteViewer.aspx.vb" Inherits="XYZ.TrainingSiteViewer" MaintainScrollPositionOnPostback="true" StylesheetTheme="general" Theme="general" ValidateRequest="false" %>
<%@ Register TagPrefix="cl" TagName="commloggridview" Src="~/Controls/CommunicationLog.ascx" %><%@ Register Assembly="Infragistics4.WebUI.Misc.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %><%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %><%@ Register Assembly="Infragistics4.WebUI.WebHtmlEditor.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebHtmlEditor" TagPrefix="ighedit" %><%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.GridControls" TagPrefix="ig" %><%@ Register Assembly="Infragistics4.WebUI.WebSpellChecker.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebSpellChecker" TagPrefix="ig_spell" %><%@ Register TagPrefix="igtxt" Namespace="Infragistics.WebUI.WebDataInput" Assembly="Infragistics4.WebUI.WebDataInput.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %><%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.EditorControls" TagPrefix="ig" %><%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI" TagPrefix="ig" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <%-- <script type="text/javascript"> function ClientValidate(source, agruments) { if ($find("<%= this.wdpETSiteContractBegins.ClientID %>").get_date().format("ddMMyyyy") == $find("<%= this.wdpETSiteContractExpiration.ClientID %>").get_date().format("ddMMyyyy")) { arguments[1].IsValid = true; } else { arguments[1].IsValid = false; } } </script>--%> <%-- <asp:ScriptManager ID="sm" runat="server"> </asp:ScriptManager>--%> <ig:WebScriptManager ID="wsm" runat="server"> </ig:WebScriptManager> <asp:UpdatePanel ID="updMainOuter" runat="server"> <ContentTemplate> <h1> Experiential Training Site Viewer</h1> <p> <%-- <igmisc:WebGroupBox ID="wgbTrainingSiteHeader" runat="server" StyleSetName="Default" Text="" TitleAlignment="Left" Width="1000px"> <Template>--%> <table style="width: 100%"> <tr> <td width="40%"> Training Site </td> <td width="30%"> <asp:Label ID="lblTrainingSiteInactive" runat="server" Font-Bold="True" ForeColor="#FF0066" Visible="False" Font-Italic="True">Currently Inactive</asp:Label> </td> <td style="text-align: right" width="30%"> <asp:Button ID="btnBackToSearch" runat="server" Text="Back to Search" CssClass="InfoButtonchp" /> </td> </tr> <tr> <td width="40%"> <asp:Label ID="lblTrainingSiteName" runat="server" Font-Bold="True" Font-Size="Medium"></asp:Label> </td> <td rowspan="3" valign="top" width="30%"> <asp:Literal ID="litAddress" runat="server"></asp:Literal> </td> <td style="text-align: right" width="30%"> <asp:Button ID="btnAddNewSite" runat="server" Text="Add New Training Site" CssClass="SaveButton" /> </td> </tr> <tr> <td width="40%"> <b>Site Phone:</b> <asp:Label ID="lblSitePhone" runat="server"></asp:Label> </td> <td style="text-align: right" width="30%"> </td> </tr> <tr> <td width="40%"> <b>Site Fax:</b> <asp:Label ID="lblSiteFax" runat="server"></asp:Label> </td> <td style="text-align: right" width="30%"> <asp:TextBox ID="txtETSiteID" runat="server" MaxLength="20" TabIndex="9" Visible="False"></asp:TextBox> </td> </tr> </table> <%-- </Template> </igmisc:WebGroupBox>--%> <br /> </p> <ig:WebTab ID="tabTrainingSite" runat="server" Width="1000px" TabsOverflow="KeepSize" EnableActivation="True"> <PostBackOptions EnableAjax="True" EnableLoadOnDemand="True" /> <Tabs> <ig:ContentTabItem EnableAjax="True" EnableDynamicUpdatePanel="True" runat="server" Text="Summary"> <Template> <asp:MultiView runat="server" ID="mvTrainingSiteViewEdit"> <asp:View ID="vwSummary" runat="server"> <br /> <table style="width: 70%"> <tr> <td align="right" style="width: 150px" valign="top"> Region(s): </td> <td valign="top"> <asp:Panel ID="panRegions" runat="server" BorderStyle="Solid" BorderWidth="1px" Height="146px" ScrollBars="Vertical" Width="100%" Enabled="false"> <asp:CheckBoxList ID="cblRegions" runat="server" DataTextField="RegionName" DataValueField="ETRegionID"> </asp:CheckBoxList> </asp:Panel> <%-- <asp:CustomValidator ID="CustomValidator2" runat="server" ClientValidationFunction="validateCheckBoxList" Display="Dynamic" ErrorMessage="At least 1 region must be selected." ValidationGroup="savesite"></asp:CustomValidator>--%> </td> <td valign="top"> <asp:Button ID="btnEditETSite" runat="server" Text="Edit Site" CssClass="SaveButton" /> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> </td> <td valign="top" style="font-style: italic"> This information is viewable by students during the Student Ranking process. </td> <td valign="top"> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> Site General Information: </td> <td valign="top"> <ighedit:WebHtmlEditor ID="WebHtmlEditor_SiteGeneralInformation" runat="server" Enabled="false" ImageDirectory="../../Images/ig_common/htmleditor/" Width="90%"> </ighedit:WebHtmlEditor> </td> <td valign="top"> </td> </tr> </table> <br /> <br /> </asp:View> <asp:View ID="vwAddEdit" runat="server"> <br /> <table style="width: 874px"> <tbody> <tr> <td style="width: 103px" align="right"> Site Name: </td> <td style="width: 565px"> <asp:TextBox ID="txtetsitename" TabIndex="1" runat="server" Width="304px" MaxLength="100"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="savesite" ErrorMessage="Site Name required" SetFocusOnError="True" Font-Bold="True" ForeColor="#FF0066" ControlToValidate="txtetsitename"></asp:RequiredFieldValidator> </td> <td valign="bottom" width="500px"> <asp:Button ID="btnSaveetSite" OnClick="btnSaveetSite_Click" runat="server" CssClass="SaveButton" ValidationGroup="savesite" Text="Save" TabIndex="14"></asp:Button> <asp:Button ID="btnCanceletSite" OnClick="btnCanceletSite_Click" runat="server" CssClass="CancelButton" CausesValidation="False" Text="Cancel" TabIndex="15"> </asp:Button> <asp:Label ID="lblsaveetsitemessage" runat="server" Visible="False" SkinID="successMsg" EnableViewState="False"></asp:Label> <br /> </td> </tr> <tr> <td style="width: 103px" align="right"> Address1: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteAddress1" TabIndex="2" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> <td valign="top" rowspan="7" width="500px"> <br /> <asp:RadioButtonList ID="rblETSiteActive" runat="server" TabIndex="12"> <asp:ListItem Value="1" Selected="True">Active</asp:ListItem> <asp:ListItem Value="0">InActive</asp:ListItem> </asp:RadioButtonList> <br /> Regions:<br /> <br /> <asp:Panel ID="panRegionsEdit" runat="server" BorderStyle="Solid" BorderWidth="1px" Height="146px" ScrollBars="Both" Width="319px" TabIndex="13"> <asp:CheckBoxList ID="cblRegionsEdit" runat="server" DataTextField="RegionName" DataValueField="ETRegionID"> </asp:CheckBoxList> </asp:Panel> <asp:CustomValidator ID="cvalcblRegionsEdit" runat="server" Font-Bold="True" ForeColor="#FF0066" Display="Dynamic" ErrorMessage="At least 1 region must be selected." ValidationGroup="savesite"></asp:CustomValidator> </td> </tr> <tr> <td style="width: 103px" align="right"> Address2: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteAddress2" TabIndex="3" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; height: 20px" align="right"> Address3: </td> <td style="width: 565px; height: 20px"> <asp:TextBox ID="txtETSiteAddress3" TabIndex="4" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px" align="right"> City: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteCity" TabIndex="5" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px" align="right"> State/<br /> Province/<br /> Region: </td> <td style="width: 565px"> <asp:TextBox ID="txtStateProvRegion" runat="server" MaxLength="50" Width="304px" TabIndex="6"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; text-align: right;"> Zip/Postal: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteZip" TabIndex="7" runat="server" MaxLength="10"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; text-align: right;"> Country: </td> <td style="width: 565px" valign="top"> <asp:DropDownList ID="ddlCountry" runat="server" Width="310px" DataValueField="CountryCode" DataTextField="CountryName" TabIndex="8"> </asp:DropDownList> </td> </tr> <tr> <td style="width: 103px" valign="top" align="right"> Site Phone: </td> <td style="width: 565px" valign="top"> <asp:TextBox ID="txtSitePhone" runat="server" MaxLength="20" TabIndex="9"></asp:TextBox> </td> <td valign="top" rowspan="1" width="500px"> </td> </tr> <tr> <td style="width: 103px; height: 26px" valign="top" align="right"> Site Fax: </td> <td style="width: 100px; height: 26px" valign="top" width="400"> <asp:TextBox ID="txtSiteFax" runat="server" MaxLength="20" TabIndex="10"></asp:TextBox> </td> <td valign="top" rowspan="1" width="500px"> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> </td> <td valign="top" style="font-style: italic; width: 565px;"> This information is viewable by students during the Student Ranking process. </td> <td valign="top"> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> Site General Information </td> <td style="width: 565px"> </td> <td valign="top" width="500px"> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> </td> <td style="width: 900px" colspan="2"> <ig_spell:WebSpellChecker ID="WebSpellChecker1" runat="server"> <DialogOptions Modal="True" WindowHeight="430" WindowWidth="390" ShowNoErrorsMessage="True" ShowFinishedMessage="true" /> </ig_spell:WebSpellChecker> <ighedit:WebHtmlEditor ID="WebHtmlEditor_SiteGeneralInformationEdit" runat="server" SpellCheckerID="WebSpellChecker1" ColorPaletteSize="Small" ImageDirectory="../../Images/ig_common/htmleditor/" Width="738px" TabIndex="11" FontFormattingList="Heading 1=<h1>&Heading 2=<h2>&Heading 3=<h3>&Heading 4=<h4>&Heading 5=<h5>&Normal=<p>" SpecialCharacterList="&#937;,&#931;,&#916;,&#934;,&#915;,&#936;,&#928;,&#920;,&#926;,&#923;,&#958;,&#956;,&#951;,&#966;,&#969;,&#949;,&#952;,&#948;,&#950;,&#968;,&#946;,&#960;,&#963;,&szlig;,&thorn;,&THORN;,&#402,&#1041;,&#1046;,&#1044;,&#1062;,&#1064;,&#1070;,&#1071;,&#1073;,&#1078;,&#1092;,&#1096;,&#1102;,&#1103;,&#12362;,&#12354;,&#32117;,&#25152;,&AElig;,&Aring;,&Ccedil;,&ETH;,&Ntilde;,&Ouml;,&aelig;,&aring;,&atilde;,&auml;,&ccedil;,&ecirc;,&eth;,&euml;,&ntilde;,&cent;,&pound;,&curren;,&yen;,&#8470;,&#153;,&copy;,&reg;,&#151;,@,&#149;,&iexcl;,&#14;,&#18;,&#24;,&#26;,&#27;,&brvbar;,&sect;,&uml;,&ordf;,&not;,&macr;,&para;,&deg;,&plusmn;,&laquo;,&raquo;,&middot;,&cedil;,&ordm;,&sup1;,&sup2;,&sup3;,&frac14;,&frac12;,&frac34;,&iquest;,&times;,&divide;" FontNameList="Arial,Verdana,Tahoma,Courier New,Georgia" FontStyleList="Blue Underline=color:blue;text-decoration:underline;&Red Bold=color:red;font-weight:bold;&ALL CAPS=text-transform:uppercase;&all lowercase=text-transform:lowercase;&Reset=" FontSizeList="1,2,3,4,5,6,7"> <DialogStyle Font-Size="8pt" Font-Names="sans-serif" BorderWidth="1px" ForeColor="Black" BorderStyle="Solid" BorderColor="Black" BackColor="#ECE9D8"></DialogStyle> <Toolbar> <ighedit:ToolbarImage runat="server" Type="DoubleSeparator" /> <ighedit:ToolbarButton runat="server" Type="Bold" /> <ighedit:ToolbarButton runat="server" Type="Italic" /> <ighedit:ToolbarButton runat="server" Type="Underline" /> <ighedit:ToolbarButton runat="server" Type="Strikethrough" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="Subscript" /> <ighedit:ToolbarButton runat="server" Type="Superscript" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="Cut" /> <ighedit:ToolbarButton runat="server" Type="Copy" /> <ighedit:ToolbarButton runat="server" Type="Paste" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="Undo" /> <ighedit:ToolbarButton runat="server" Type="Redo" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="JustifyLeft" /> <ighedit:ToolbarButton runat="server" Type="JustifyCenter" /> <ighedit:ToolbarButton runat="server" Type="JustifyRight" /> <ighedit:ToolbarButton runat="server" Type="JustifyFull" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="Indent" /> <ighedit:ToolbarButton runat="server" Type="Outdent" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="UnorderedList" /> <ighedit:ToolbarButton runat="server" Type="OrderedList" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarDialogButton runat="server" Type="InsertRule"> <Dialog InternalDialogType="InsertRule" /> </ighedit:ToolbarDialogButton> <ighedit:ToolbarImage runat="server" Type="RowSeparator" /> <ighedit:ToolbarImage runat="server" Type="DoubleSeparator" /> <ighedit:ToolbarDialogButton runat="server" Type="FontColor"> </ighedit:ToolbarDialogButton> <ighedit:ToolbarDialogButton runat="server" Type="FontHighlight"> </ighedit:ToolbarDialogButton> <ighedit:ToolbarDialogButton runat="server" Type="SpecialCharacter"> <Dialog InternalDialogType="SpecialCharacterPicker" Type="InternalWindow" /> </ighedit:ToolbarDialogButton> <ighedit:ToolbarMenuButton runat="server" Type="InsertTable"> <Menu> <ighedit:HtmlBoxMenuItem runat="server" Act="TableProperties"> <Dialog InternalDialogType="InsertTable" /> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="InsertColumnRight"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="InsertColumnLeft"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="InsertRowAbove"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="InsertRowBelow"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="DeleteRow"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="DeleteColumn"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="IncreaseColspan"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="DecreaseColspan"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="IncreaseRowspan"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="DecreaseRowspan"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="CellProperties"> <Dialog InternalDialogType="CellProperties" /> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="TableProperties"> <Dialog InternalDialogType="ModifyTable" /> </ighedit:HtmlBoxMenuItem> </Menu> </ighedit:ToolbarMenuButton> <ighedit:ToolbarButton runat="server" Type="ToggleBorders" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" Type="InsertLink" /> <ighedit:ToolbarButton runat="server" Type="RemoveLink" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarButton runat="server" RaisePostback="True" Type="Save" /> <ighedit:ToolbarUploadButton runat="server" Type="Open"> <Upload Filter="*.htm,*.html,*.asp,*.aspx" Height="350px" Mode="File" Width="500px" /> </ighedit:ToolbarUploadButton> <ighedit:ToolbarButton runat="server" Type="Preview" /> <ighedit:ToolbarImage runat="server" Type="Separator" /> <ighedit:ToolbarDialogButton runat="server" Type="FindReplace"> <Dialog InternalDialogType="FindReplace" /> </ighedit:ToolbarDialogButton> <ighedit:ToolbarDialogButton runat="server" Type="InsertBookmark"> <Dialog InternalDialogType="InsertBookmark" /> </ighedit:ToolbarDialogButton> <ighedit:ToolbarUploadButton runat="server" Type="InsertImage"> <Upload Height="420px" Width="500px" /> </ighedit:ToolbarUploadButton> <ighedit:ToolbarUploadButton runat="server" Type="InsertFlash"> <Upload Filter="*.swf" Height="440px" Mode="Flash" Width="500px" /> </ighedit:ToolbarUploadButton> <ighedit:ToolbarUploadButton runat="server" Type="InsertWindowsMedia"> <Upload Filter="*.asf,*.wma,*.wmv,*.wm,*.avi,*.mpg,*.mpeg,*.m1v,*.mp2,*.mp3,*.mpa,*.mpe,*.mpv2,*.m3u,*.mid,*.midi,*.rmi,*.aif,*.aifc,*.aiff,*.au,*.snd,*.wav,*.cda,*.ivf" Height="400px" Mode="WindowsMedia" Width="500px" /> </ighedit:ToolbarUploadButton> <ighedit:ToolbarDialogButton runat="server" Type="Help"> <Dialog InternalDialogType="Text" /> </ighedit:ToolbarDialogButton> <ighedit:ToolbarButton runat="server" Type="CleanWord" /> <ighedit:ToolbarButton runat="server" Type="WordCount" /> <ighedit:ToolbarButton runat="server" Type="PasteHtml" /> <ighedit:ToolbarMenuButton runat="server" Type="Zoom"> <Menu> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom25"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom50"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom75"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom100"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom200"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom300"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom400"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom500"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Zoom600"> </ighedit:HtmlBoxMenuItem> </Menu> </ighedit:ToolbarMenuButton> <ighedit:ToolbarButton runat="server" Type="TogglePositioning" /> <ighedit:ToolbarButton runat="server" Type="BringForward" /> <ighedit:ToolbarButton runat="server" Type="SendBackward" /> <ighedit:ToolbarImage runat="server" Type="RowSeparator" /> <ighedit:ToolbarImage runat="server" Type="DoubleSeparator" /> <ighedit:ToolbarDropDown runat="server" Type="FontName"> </ighedit:ToolbarDropDown> <ighedit:ToolbarDropDown runat="server" Type="FontSize"> </ighedit:ToolbarDropDown> <ighedit:ToolbarDropDown runat="server" Type="FontFormatting"> </ighedit:ToolbarDropDown> <ighedit:ToolbarDropDown runat="server" Type="FontStyle"> </ighedit:ToolbarDropDown> <ighedit:ToolbarDropDown runat="server" Type="Insert"> <Items> <ighedit:ToolbarDropDownItem runat="server" Act="Greeting" /> <ighedit:ToolbarDropDownItem runat="server" Act="Signature" /> </Items> </ighedit:ToolbarDropDown> <ighedit:ToolbarButton Type="SpellCheck"></ighedit:ToolbarButton> </Toolbar> <RightClickMenu> <ighedit:HtmlBoxMenuItem runat="server" Act="Cut"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Copy"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="Paste"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="PasteHtml"> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="CellProperties"> <Dialog InternalDialogType="CellProperties" /> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="TableProperties"> <Dialog InternalDialogType="ModifyTable" /> </ighedit:HtmlBoxMenuItem> <ighedit:HtmlBoxMenuItem runat="server" Act="InsertImage"> </ighedit:HtmlBoxMenuItem> </RightClickMenu> </ighedit:WebHtmlEditor> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> </td> <td valign="bottom" style="width: 565px"> <asp:Button ID="btnSaveetSite1" OnClick="btnSaveetSite_Click" runat="server" CssClass="SaveButton" ValidationGroup="savesite" Text="Save" TabIndex="17"></asp:Button> <asp:Button ID="btnCanceletSite1" OnClick="btnCanceletSite_Click" runat="server" CssClass="CancelButton" CausesValidation="False" Text="Cancel" TabIndex="18"> </asp:Button> <asp:Label ID="lblsaveetsitemessage1" runat="server" Visible="False" SkinID="successMsg" EnableViewState="False"></asp:Label> <br /> </td> </tr> </tbody> </table> </asp:View> </asp:MultiView> </Template> </ig:ContentTabItem> <ig:ContentTabItem EnableAjax="True" EnableDynamicUpdatePanel="True" runat="server" Text="Files"> <Template> <asp:UpdatePanel ID="updFiles" runat="server"> <ContentTemplate> <asp:Panel ID="panFiles" runat="server" Width="100%"> <br /> <table style="width: 100%"> <tr> <td valign="top"> <br /> <i>Files are available to students and preceptors after a rotation at this site has been added</i> <i> <br /> to a schedule, and the schedules have beeen released to students and preceptors.</i> <b><br /> <br /> <asp:LinkButton ID="btnAddNewFile" runat="server" Enabled="true">Add New</asp:LinkButton></b> <br /> <br /> <b>Files are available to Students and Preceptors.</b> <br /> <asp:GridView ID="gvFiles" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> <br /> <br /> <b>Files available ONLY to the ET Office.</b> <br /> <asp:GridView ID="gvFiles1" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" Visible="false" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> </asp:Panel> <asp:Panel ID="panUpload" runat="server" Visible="false" Width="100%"> <br /> <p> File size is limited to 2MB per file. Accepted file formats are Microsoft Word (.doc/.docx), Excel (.xls/.xlsx) and Powerpoint (.ppt/.pptx), Zip files (.zip), and Adobe Acrobat (.pdf) files.</p> <p> <strong>Upload a New File <asp:CheckBox ID="cbIsPubliclyViewable" runat="server" Text="I want to make this available for Students and Preceptors to view." Font-Italic="True" ForeColor="Blue" /></strong></p> <p> <asp:FileUpload ID="txtFileUpload" runat="server" Width="36em" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please select a file to upload" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="valExtension" runat="server" ErrorMessage="This file type is not supported." ValidationExpression=".*\.(([Dd][Oo][Cc][Xx]?)|([Pp][Dd][Ff])|([Xx][Ll][Ss][Xx]?)|([Pp][Pp][Tt][Xx]?)|([Zz][Ii][Pp]))$" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RegularExpressionValidator> </p> <asp:Label ID="lblFileUploadMessage" runat="server" EnableViewState="False" Style="color: red;"> </asp:Label> <p> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';" CssClass="SaveButton" ValidationGroup="fileupload" /> <asp:Button ID="btnDone" runat="server" CssClass="InfoButtonchp" Text="Done" /></p> </asp:Panel> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnUpload" /> <%--<asp:PostBackTrigger ControlID="btnAddNewFile" />--%> <%--<asp:PostBackTrigger ControlID="panFiles" />--%> <%--<asp:PostBackTrigger ControlID="btnDone" />--%> <asp:PostBackTrigger ControlID="gvFiles" /> <asp:PostBackTrigger ControlID="gvFiles1" /> <%--<asp:AsyncPostbackTrigger ControlID="btnUpload" EventName="Click" />--%> <asp:AsyncPostBackTrigger ControlID="btnDone" EventName="Click" /> <asp:AsyncPostBackTrigger ControlID="btnAddNewFile" EventName="Click" /> </Triggers> </asp:UpdatePanel> </Template> </ig:ContentTabItem> <ig:ContentTabItem EnableAjax="True" AutoSize="True" EnableDynamicUpdatePanel="True" runat="server" Text="Contracts/Affiliation Agreements"> <Template> <asp:UpdatePanel ID="updAgreements" runat="server"> <ContentTemplate> <asp:Panel ID="panContractUpload" runat="server" Visible="false" Width="100%"> <br /> <p> File size is limited to 2MB per file. Accepted file formats are Microsoft Word (.doc/.docx), Excel (.xls/.xlsx) and Powerpoint (.ppt/.pptx), Zip files (.zip), and Adobe Acrobat (.pdf) files.</p> <p> <strong>Upload a New Contract File <asp:CheckBox ID="cbIsContractFilePubliclyViewable" runat="server" Text="I want to make this available for Students and Preceptors to view." Font-Italic="True" ForeColor="Blue" Visible="False" /></strong></p> <p> <asp:FileUpload ID="txtContractFileUpload" runat="server" Width="36em" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Please select a file to upload" ControlToValidate="txtContractFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="contractfileupload"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="This file type is not supported." ValidationExpression=".*\.(([Dd][Oo][Cc][Xx]?)|([Pp][Dd][Ff])|([Xx][Ll][Ss][Xx]?)|([Pp][Pp][Tt][Xx]?)|([Zz][Ii][Pp]))$" ControlToValidate="txtContractFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="contractfileupload"></asp:RegularExpressionValidator></p> <asp:Label ID="lblContractFileUploadMessage" runat="server" EnableViewState="False" Style="color: red;"></asp:Label> <p> <asp:Button ID="btnContractUpload" runat="server" Text="Upload" OnClick="btnContractUpload_Click" OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';" CssClass="SaveButton" ValidationGroup="contractfileupload" /> <asp:Button ID="btnContractUploadDone" runat="server" CssClass="InfoButtonchp" Text="Done" /></p> </asp:Panel> <asp:Panel ID="pnlETContractAffiliations" Visible="false" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid"> <table style="width: 100%"> <tr> <td valign="top"> <b><br /> <asp:LinkButton ID="lbAddNewContract" runat="server" Enabled="True">Add New</asp:LinkButton> <br /> </b> <br /> <asp:Panel ID="pnlETSitePaid" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid" Visible="False" Width="100%"> <asp:TextBox ID="txtETContAffID" runat="server" Width="100px" Visible="False"></asp:TextBox> <asp:RadioButtonList ID="rblContractAffiliationFlag" runat="server" Height="10px" Width="200px" RepeatDirection="Horizontal"> <asp:ListItem Selected="True" Value="C">Contract</asp:ListItem> <asp:ListItem Value="A">Affiliation</asp:ListItem> </asp:RadioButtonList> <br /> Contract Amount: <asp:TextBox ID="txtETSiteContractAmount" runat="server" CssClass="alignMoneyRight" Width="100px" ToolTip="Enter currency starting just left of the decimal point. Numbers enter in a right to left input direction."></asp:TextBox> <ajaxToolkit:MaskedEditExtender ID="txtETSiteContractAmount_MaskedEditExtender" runat="server" CultureName="en-US" DisplayMoney="left" Enabled="True" InputDirection="RightToLeft" Mask="9999999.99" MaskType="Number" TargetControlID="txtETSiteContractAmount" /> <ajaxToolkit:MaskedEditValidator ID="txtETSiteContractAmount_MaskedEditValidator" runat="server" ControlExtender="txtETSiteContractAmount_MaskedEditExtender" ControlToValidate="txtETSiteContractAmount" Display="Dynamic" InvalidValueMessage="The amount is invalid" IsValidEmpty="true" MaximumValue="9999999.99" MaximumValueMessage="The amount is to large" MinimumValue="0" MinimumValueMessage="The amount is to small" TooltipMessage="Please Enter a Value between 0 and 9,999,999.99" /> per <asp:DropDownList ID="ddlETSiteContractTerm" runat="server"> <asp:ListItem></asp:ListItem> <asp:ListItem>Year</asp:ListItem> <asp:ListItem>Month</asp:ListItem> <asp:ListItem>Student</asp:ListItem> <asp:ListItem>Rotation Filled</asp:ListItem> <asp:ListItem>One Time Only</asp:ListItem> </asp:DropDownList> <br /> <br /> Contract Status: <ajaxToolkit:ComboBox ID="ddlETSitesContractStatus" runat="server" AutoCompleteMode="SuggestAppend" AutoPostBack="False" CaseSensitive="False" CssClass="" DataTextField="ContractStatus" DataValueField="ID" DropDownStyle="DropDown" ItemInsertLocation="OrdinalText" MaxLength="200" Width="300px"> </ajaxToolkit:ComboBox> <br /> <br /> <table style="width: 100%"> <tr> <td style="height: 12px; width: 271px"> Contract Begins: <ig:WebDatePicker ID="wdpETSiteContractBegins" runat="server"> <Buttons> <CustomButton ImageUrl="~/images/icon-calendar.gif" /> </Buttons> </ig:WebDatePicker> </td> <td style="height: 12px"> Expiration: <ig:WebDatePicker ID="wdpETSiteContractExpiration" runat="server"> <Buttons> <CustomButton ImageUrl="~/images/icon-calendar.gif" /> </Buttons> </ig:WebDatePicker> </tr> </table> <br /> <asp:Button ID="btnSaveETContractAffiliationsAdd" runat="server" CssClass="SaveButton" OnClick="btnSaveETContractAffiliationsAdd_Click" Text="Save" ValidationGroup="saveETContractAffiliationsAdd" /> <asp:Button ID="btnCancelETContractAffiliationsAdd" runat="server" CausesValidation="False" CssClass="CancelButton" OnClick="btnCancelETContractAffiliationsAdd_Click" Text="Cancel" /> <br /> </asp:Panel> <p> </p> <asp:GridView ID="gvContractAffiliations" runat="server" AutoGenerateColumns="False" DataKeyNames="ETContractAffiliationsID" EmptyDataText="No Contract or Affiliations found" SkinID="gridviewskin" Width="900px"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETContractAffiliationsID" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ETContractAffiliationsID)") %>' Width="1px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:LinkButton ID="lbgvETContractAffiliations" runat="server" CommandName="Edit" CommandArgument='<%# Databinder.eval(container, "rowindex") %>' ToolTip="Click here to edit this Contract or Affiliation">Edit</asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Categories"> <ItemTemplate> <asp:Label ID="lblgvContractAffiliationFlag" runat="server" Text='<%#IIF(Eval("ContractAffiliationFlag")="C","Contract",IIF(Eval("ContractAffiliationFlag")="A","Affiliation","N/A"))%>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Contract Amount"> <ItemTemplate> <asp:Label ID="lblgvETSiteContractAmount" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractAmount)","{0:c}") %>' CssClass="alignMoneyRight" Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="per"> <ItemTemplate> <asp:Label ID="lblgvETSitesContractTerm" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractTerm)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Contract Status"> <ItemTemplate> <asp:Label ID="lblgvETSitesContractStatus" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractStatus)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Begin/Expiration Dates"> <ItemTemplate> <%#DisplayDateRange(Container.DataItem("ContractBeginDate"), Container.DataItem("ContractExpirationDate"))%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractBeginDate" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractBeginDate)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractExpirationDate" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractExpirationDate)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractFileName" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractFileName)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractMimeType" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractMimeType)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractIsPubliclyViewable" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(IsPubliclyViewable)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:LinkButton ID="lbViewAttachment" runat="server" Visible="False" CommandName="Download" CommandArgument='<% Bind("ETContractAffiliationsID") %>' ToolTip="Download a single document">Download File</asp:LinkButton> <asp:LinkButton ID="lbAddAttachment" runat="server" Visible="False" CommandName="Add" ToolTip="Add a single document">Add File</asp:LinkButton> <asp:LinkButton ID="lbDeleteAttachment" runat="server" Visible="False" CommandName="Delete" CommandArgument='<% Bind("ETContractAffiliationsID") %>' ToolTip="Delete this document">Delete File</asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> </td> </tr> <tr> <td valign="top"> </td> </tr> </table> </asp:Panel> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvContractAffiliations" /> <asp:PostBackTrigger ControlID="btnContractUpload" /> <%-- <asp:PostBackTrigger ControlID="ddlETSites" />--%> </Triggers> </asp:UpdatePanel> </Template> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Text="Evaluations"> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Text="Preceptors"> <Template> <asp:UpdatePanel ID="updPreceptors" runat="server"> <ContentTemplate> <b><span style="font-size: large">Preceptors at this Training Site</span></b><br /> <br /> <asp:GridView ID="gvPreceptors" runat="server" AutoGenerateColumns="False" DataKeyNames="PreceptorUserID" EmptyDataText="No Preceptors found" SkinID="gridviewskin" Width="900px"> <Columns> <asp:TemplateField Visible="False" HeaderText="PreceptorUserID"> <ItemTemplate> <asp:Label ID="lblPreceptorUserID" runat="server" Text='<%# Bind("PreceptorUserID") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Preceptor"> <ItemTemplate> <asp:LinkButton ID="lbFullName" runat="server" CommandName="PreceptorViewer" CommandArgument='<%# Bind("PreceptorUserID") %>' Text='<%# Bind("FullName") %>' ToolTip="View additional information about this preceptor"></asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Preceptor Email"> <ItemTemplate> <asp:HyperLink ID="lnkEmail" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.EMailAddress") %>' NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.EMailAddress","MAILTO:{0}")%>'></asp:HyperLink> </ItemTemplate> </asp:TemplateField> <asp:TemplateField Visible="true" HeaderText="Rotation"> <ItemTemplate> <asp:Label ID="lblSiteCourseID" runat="server" Text='<%# Bind("SiteCourseID") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Rotation"> <ItemTemplate> <%-- <asp:Label ID="lblCourseName" runat="server" Text='<%# Bind("CourseName") %>'></asp:Label>--%> <asp:LinkButton ID="lbRotation" runat="server" CommandName="RotationViewer" CausesValidation="False" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"PreceptorUserID") & "," & DataBinder.Eval(Container.DataItem,"SiteCourseID") & "," %>' Text='<%# Bind("CourseName") %>' ToolTip="View additional information about this rotation"></asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Rotation Active?"> <ItemTemplate> <asp:Label ID="lblETIsRotationActive" runat="server" Text='<%# IIF(Container.DataItem("ETIsRotationActive")="1","Yes","No") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="Description" HeaderText="Role" /> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> <br /> <br /> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvPreceptors" /> </Triggers> </asp:UpdatePanel> </Template> </ig:ContentTabItem> <ig:ContentTabItem runat="server" Text="Students"> </ig:ContentTabItem> </Tabs> <postbackoptions enableajax="True" enableloadondemand="True" /> <postbackoptions enableajax="True" enableloadondemand="True" /> </ig:WebTab> <p> </p> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnBackToSearch" /> </Triggers> </asp:UpdatePanel></asp:Content>
I am working with you through case CAS-59273-N5GNN4 to find a resolution to this.
my apologies...
"vanilla" for us is fckeditor = htmleditor and peterblumscalendarcontrol = WebDatePicker
the issue we are having here is with the webtab control (and already have a bug# for spellchecker in htmleditor and a case# for VS designer memory exhaustion when you drag a peterblumscalendarcontrol onto a tab on the webtab control)
in addition to the mentioned errors, two more:
1. tabs that are empty or not visible have issues
2. EnableEventValidation=false seems to be ignored
CASE# CAS-59273-N5GNN4 was submitted on 1/12/2011 (we have had issues with 3 of the 4 controls we've tried to use so far, substituting v10.3 controls for vanilla asp.net)
Here is 100% working ASP.NET .aspx code to compare to:
<%@ Page Title="XYZ Training Site Viewer" Language="vb" AutoEventWireup="false" MasterPageFile="~/XYZ.Master" CodeBehind="TrainingSiteViewer.aspx.vb" Inherits="CCCM.TrainingSiteViewer4" MaintainScrollPositionOnPostback="true" StylesheetTheme="General" Theme="General" ValidateRequest="false" EnableEventValidation="false" %><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %><%@ Register Assembly="fredck.fckeditorv2" Namespace="fredck.fckeditorv2" TagPrefix="fckeditorv2" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <asp:ScriptManager ID="sm" runat="server"> </asp:ScriptManager> <des:PageManager ID="PageManager1" runat="server" AJAXFramework="MicrosoftAJAX" AllInAJAXUpdate="True"> </des:PageManager> <des:DateTextBox ID="txtAjaxDummyDTB" runat="server" Visible="false" /> <table width="100%"> <tr> <td width="100%"> <asp:UpdatePanel ID="updMainOuter" runat="server"> <ContentTemplate> <h1> Experiential Training Site Viewer</h1> <p> <table style="width: 100%"> <tr> <td width="40%"> Training Site </td> <td width="30%"> <asp:Label ID="lblTrainingSiteInactive" runat="server" Font-Bold="True" ForeColor="#FF0066" Visible="False" Font-Italic="True">Currently Inactive</asp:Label> </td> <td style="text-align: right" width="30%"> <asp:Button ID="btnBackToSearch" runat="server" Text="Back to Search" CssClass="InfoButtonchp" /> </td> </tr> <tr> <td width="40%"> <asp:Label ID="lblTrainingSiteName" runat="server" Font-Bold="True" Font-Size="Medium"></asp:Label> </td> <td rowspan="3" valign="top" width="30%"> <asp:Literal ID="litAddress" runat="server"></asp:Literal> </td> <td style="text-align: right" width="30%"> <asp:Button ID="btnAddNewSite" runat="server" Text="Add New Training Site" CssClass="SaveButton" /> </td> </tr> <tr> <td width="40%"> <b>Site Phone:</b> <asp:Label ID="lblSitePhone" runat="server"></asp:Label> </td> <td style="text-align: right" width="30%"> </td> </tr> <tr> <td width="40%"> <b>Site Fax:</b> <asp:Label ID="lblSiteFax" runat="server"></asp:Label> </td> <td style="text-align: right" width="30%"> <asp:TextBox ID="txtETSiteID" runat="server" MaxLength="20" TabIndex="9" Visible="False"></asp:TextBox> </td> </tr> </table> <br /> </p> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnBackToSearch" /> </Triggers> </asp:UpdatePanel> </td> </tr> <tr> <td width="100%"> <ajaxToolkit:TabContainer ID="tcTrainingSite" runat="server" ActiveTabIndex="0" Width="99%" AutoPostBack="True"> <ajaxToolkit:TabPanel runat="server" HeaderText="Summary" ID="tpSummary"> <ContentTemplate> <asp:MultiView runat="server" ID="mvTrainingSiteViewEdit"> <asp:View ID="vwSummary" runat="server"> <br /> <table style="width: 70%"> <tr> <td align="right" style="width: 150px" valign="top"> Region(s): </td> <td valign="top"> <asp:Panel ID="panRegions" runat="server" BorderStyle="Solid" BorderWidth="1px" Height="146px" ScrollBars="Vertical" Width="100%" Enabled="False"> <asp:CheckBoxList ID="cblRegions" runat="server" DataTextField="RegionName" DataValueField="ETRegionID"> </asp:CheckBoxList> </asp:Panel> </td> <td valign="top"> <asp:Button ID="btnEditETSite" runat="server" Text="Edit Site" CssClass="SaveButton" /> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> </td> <td valign="top" style="font-style: italic"> This information is viewable by students during the Student Ranking process. </td> <td valign="top"> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> Site General Information: </td> <td valign="top"> <fckeditorv2:FCKeditor ID="fckSiteGeneralInformation" runat="server" Width="80%" Height="200px" ToolbarSet="CccmToolbar">  </fckeditorv2:FCKeditor> </td> <td valign="top"> </td> </tr> </table> <br /> <br /> </asp:View> <asp:View ID="vwAddEdit" runat="server"> <br /> <table style="width: 874px"> <tbody> <tr> <td style="width: 103px" align="right"> Site Name: </td> <td style="width: 565px"> <asp:TextBox ID="txtetsitename" TabIndex="1" runat="server" Width="304px" MaxLength="100"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="savesite" ErrorMessage="Site Name required" SetFocusOnError="True" Font-Bold="True" ForeColor="#FF0066" ControlToValidate="txtetsitename"></asp:RequiredFieldValidator> </td> <td valign="bottom" width="500px"> <asp:Button ID="btnSaveetSite" OnClick="btnSaveetSite_Click" runat="server" CssClass="SaveButton" ValidationGroup="savesite" Text="Save" TabIndex="14"></asp:Button> <asp:Button ID="btnCanceletSite" OnClick="btnCanceletSite_Click" runat="server" CssClass="CancelButton" CausesValidation="False" Text="Cancel" TabIndex="15"> </asp:Button> <asp:Label ID="lblsaveetsitemessage" runat="server" Visible="False" SkinID="successMsg" EnableViewState="False"></asp:Label> <br /> </td> </tr> <tr> <td style="width: 103px" align="right"> Address1: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteAddress1" TabIndex="2" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> <td valign="top" rowspan="7" width="500px"> <br /> <asp:RadioButtonList ID="rblETSiteActive" runat="server" TabIndex="12"> <asp:ListItem Value="1" Selected="True">Active</asp:ListItem> <asp:ListItem Value="0">InActive</asp:ListItem> </asp:RadioButtonList> <br /> Regions:<br /> <br /> <asp:Panel ID="panRegionsEdit" runat="server" BorderStyle="Solid" BorderWidth="1px" Height="146px" ScrollBars="Both" Width="319px" TabIndex="13"> <asp:CheckBoxList ID="cblRegionsEdit" runat="server" DataTextField="RegionName" DataValueField="ETRegionID"> </asp:CheckBoxList> </asp:Panel> <asp:CustomValidator ID="cvalcblRegionsEdit" runat="server" Font-Bold="True" ForeColor="#FF0066" Display="Dynamic" ErrorMessage="At least 1 region must be selected." ValidationGroup="savesite"></asp:CustomValidator> </td> </tr> <tr> <td style="width: 103px" align="right"> Address2: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteAddress2" TabIndex="3" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; height: 20px" align="right"> Address3: </td> <td style="width: 565px; height: 20px"> <asp:TextBox ID="txtETSiteAddress3" TabIndex="4" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px" align="right"> City: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteCity" TabIndex="5" runat="server" Width="304px" MaxLength="50"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px" align="right"> State/<br /> Province/<br /> Region: </td> <td style="width: 565px"> <asp:TextBox ID="txtStateProvRegion" runat="server" MaxLength="50" Width="304px" TabIndex="6"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; text-align: right;"> Zip/Postal: </td> <td style="width: 565px"> <asp:TextBox ID="txtETSiteZip" TabIndex="7" runat="server" MaxLength="10"></asp:TextBox> </td> </tr> <tr> <td style="width: 103px; text-align: right;"> Country: </td> <td style="width: 565px" valign="top"> <asp:DropDownList ID="ddlCountry" runat="server" Width="310px" DataValueField="CountryCode" DataTextField="CountryName" TabIndex="8"> </asp:DropDownList> </td> </tr> <tr> <td style="width: 103px" valign="top" align="right"> Site Phone: </td> <td style="width: 565px" valign="top"> <asp:TextBox ID="txtSitePhone" runat="server" MaxLength="20" TabIndex="9"></asp:TextBox> </td> <td valign="top" rowspan="1" width="500px"> </td> </tr> <tr> <td style="width: 103px; height: 26px" valign="top" align="right"> Site Fax: </td> <td style="width: 100px; height: 26px" valign="top" width="400"> <asp:TextBox ID="txtSiteFax" runat="server" MaxLength="20" TabIndex="10"></asp:TextBox> </td> <td valign="top" rowspan="1" width="500px"> </td> </tr> <tr> <td align="right" style="width: 150px" valign="top"> </td> <td valign="top" style="font-style: italic; width: 565px;"> This information is viewable by students during the Student Ranking process. </td> <td valign="top"> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> Site General Information </td> <td style="width: 565px"> </td> <td valign="top" width="500px"> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> </td> <td style="width: 900px" colspan="2"> <fckeditorv2:FCKeditor ID="fckSiteGeneralInformationEdit" runat="server" Width="80%" Height="200px" ToolbarSet="CccmToolbar">  </fckeditorv2:FCKeditor> </td> </tr> <tr> <td style="width: 103px; height: 26px; text-align: left;" valign="top"> </td> <td valign="bottom" style="width: 565px"> <asp:Button ID="btnSaveetSite1" OnClick="btnSaveetSite_Click" runat="server" CssClass="SaveButton" ValidationGroup="savesite" Text="Save" TabIndex="17"></asp:Button> <asp:Button ID="btnCanceletSite1" OnClick="btnCanceletSite_Click" runat="server" CssClass="CancelButton" CausesValidation="False" Text="Cancel" TabIndex="18"> </asp:Button> <asp:Label ID="lblsaveetsitemessage1" runat="server" Visible="False" SkinID="successMsg" EnableViewState="False"></asp:Label> <br /> </td> </tr> </tbody> </table> </asp:View> </asp:MultiView> </ContentTemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel runat="server" HeaderText="Files" ID="tpFiles"> <ContentTemplate> <asp:UpdatePanel ID="updFiles" runat="server"> <ContentTemplate> <asp:Panel ID="panUpload" runat="server" Visible="false" Width="100%"> <br /> <p> File size is limited to 2MB per file. Accepted file formats are Microsoft Word (.doc/.docx), Excel (.xls/.xlsx) and Powerpoint (.ppt/.pptx), Zip files (.zip), and Adobe Acrobat (.pdf) files.</p> <p> <strong>Upload a New File <asp:CheckBox ID="cbIsPubliclyViewable" runat="server" Text="I want to make this available for Students and Preceptors to view." Font-Italic="True" ForeColor="Blue" /></strong></p> <p> <asp:FileUpload ID="txtFileUpload" runat="server" Width="36em" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please select a file to upload" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="valExtension" runat="server" ErrorMessage="This file type is not supported." ValidationExpression=".*\.(([Dd][Oo][Cc][Xx]?)|([Pp][Dd][Ff])|([Xx][Ll][Ss][Xx]?)|([Pp][Pp][Tt][Xx]?)|([Zz][Ii][Pp]))$" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RegularExpressionValidator> </p> <asp:Label ID="lblFileUploadMessage" runat="server" EnableViewState="False" Style="color: red;"> </asp:Label> <p> <%-- OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';"--%> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';" CssClass="SaveButton" ValidationGroup="fileupload" /> <asp:Button ID="btnDone" runat="server" CssClass="InfoButtonchp" Text="Done" /></p> </asp:Panel> <asp:Panel ID="panFiles" runat="server" Width="100%"> <br /> <table style="width: 100%"> <tr> <td valign="top"> <br /> <i>Files are available to students and preceptors after a rotation at this site has been added</i> <i> <br /> to a schedule, and the schedules have beeen released to students and preceptors.</i> <b><br /> <br /> <asp:LinkButton ID="btnAddNewFile" runat="server" Enabled="true">Add New</asp:LinkButton></b> <br /> <br /> <b>Files are available to Students and Preceptors.</b> <br /> <asp:GridView ID="gvFiles" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> <br /> <br /> <b>Files available ONLY to the ET Office.</b> <br /> <asp:GridView ID="gvFiles1" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" Visible="false" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> </td> </tr> </table> </asp:Panel> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="btnUpload" /> <asp:PostBackTrigger ControlID="gvFiles" /> <asp:PostBackTrigger ControlID="gvFiles1" /> <%--<asp:AsyncPostBackTrigger ControlID="btnUpload" EventName="Click" />--%> <asp:AsyncPostBackTrigger ControlID="btnDone" EventName="Click" /> <asp:AsyncPostBackTrigger ControlID="btnAddNewFile" EventName="Click" /> </Triggers> </asp:UpdatePanel> </ContentTemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel runat="server" HeaderText="Contracts/Affiliation Agreements" ID="tpAgreements"> <ContentTemplate> <asp:UpdatePanel ID="updAgreements" runat="server"> <ContentTemplate> <asp:Panel ID="panContractUpload" runat="server" Visible="false" Width="100%"> <br /> <p> File size is limited to 2MB per file. Accepted file formats are Microsoft Word (.doc/.docx), Excel (.xls/.xlsx) and Powerpoint (.ppt/.pptx), Zip files (.zip), and Adobe Acrobat (.pdf) files.</p> <p> <strong>Upload a New Contract File <asp:CheckBox ID="cbIsContractFilePubliclyViewable" runat="server" Text="I want to make this available for Students and Preceptors to view." Font-Italic="True" ForeColor="Blue" Visible="False" /></strong></p> <p> <asp:FileUpload ID="txtContractFileUpload" runat="server" Width="36em" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="Please select a file to upload" ControlToValidate="txtContractFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="contractfileupload"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="This file type is not supported." ValidationExpression=".*\.(([Dd][Oo][Cc][Xx]?)|([Pp][Dd][Ff])|([Xx][Ll][Ss][Xx]?)|([Pp][Pp][Tt][Xx]?)|([Zz][Ii][Pp]))$" ControlToValidate="txtContractFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="contractfileupload"></asp:RegularExpressionValidator></p> <asp:Label ID="lblContractFileUploadMessage" runat="server" EnableViewState="False" Style="color: red;"></asp:Label> <p> <%--OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';"--%> <asp:Button ID="btnContractUpload" runat="server" Text="Upload" OnClick="btnContractUpload_Click" CssClass="SaveButton" ValidationGroup="contractfileupload" /> <asp:Button ID="btnContractUploadDone" runat="server" CssClass="InfoButtonchp" Text="Done" /></p> </asp:Panel> <asp:Panel ID="pnlETContractAffiliations" Visible="false" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid"> <table style="width: 100%"> <tr> <td valign="top"> <b><br /> <asp:LinkButton ID="lbAddNewContract" runat="server" Enabled="True">Add New</asp:LinkButton> <br /> </b> <br /> <asp:Panel ID="pnlETSitePaid" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid" Visible="False" Width="100%"> <asp:TextBox ID="txtETContAffID" runat="server" Width="100px" Visible="False"></asp:TextBox> <asp:RadioButtonList ID="rblContractAffiliationFlag" runat="server" Height="10px" Width="200px" RepeatDirection="Horizontal"> <asp:ListItem Selected="True" Value="C">Contract</asp:ListItem> <asp:ListItem Value="A">Affiliation</asp:ListItem> </asp:RadioButtonList> <br /> Contract Amount: <asp:TextBox ID="txtETSiteContractAmount" runat="server" CssClass="alignMoneyRight" Width="100px" ToolTip="Enter currency starting just left of the decimal point. Numbers enter in a right to left input direction."></asp:TextBox> <ajaxToolkit:MaskedEditExtender ID="txtETSiteContractAmount_MaskedEditExtender" runat="server" CultureName="en-US" DisplayMoney="left" Enabled="True" InputDirection="RightToLeft" Mask="9999999.99" MaskType="Number" TargetControlID="txtETSiteContractAmount" /> <ajaxToolkit:MaskedEditValidator ID="txtETSiteContractAmount_MaskedEditValidator" runat="server" ControlExtender="txtETSiteContractAmount_MaskedEditExtender" ControlToValidate="txtETSiteContractAmount" Display="Dynamic" InvalidValueMessage="The amount is invalid" IsValidEmpty="true" MaximumValue="9999999.99" MaximumValueMessage="The amount is to large" MinimumValue="0" MinimumValueMessage="The amount is to small" TooltipMessage="Please Enter a Value between 0 and 9,999,999.99" /> per <asp:DropDownList ID="ddlETSiteContractTerm" runat="server"> <asp:ListItem></asp:ListItem> <asp:ListItem>Year</asp:ListItem> <asp:ListItem>Month</asp:ListItem> <asp:ListItem>Student</asp:ListItem> <asp:ListItem>Rotation Filled</asp:ListItem> <asp:ListItem>One Time Only</asp:ListItem> </asp:DropDownList> <asp:RequiredFieldValidator ID="rfETSiteContractTerm" runat="server" ValidationGroup="SaveETSiteAgreement" ErrorMessage="Contract Term Required" ForeColor="Red" SetFocusOnError="True" ControlToValidate="ddlETSiteContractTerm"></asp:RequiredFieldValidator> <br /> <br /> Contract Status: <ajaxToolkit:ComboBox ID="ddlETSitesContractStatus" runat="server" AutoCompleteMode="SuggestAppend" AutoPostBack="False" CaseSensitive="False" CssClass="" DataTextField="ContractStatus" DataValueField="ID" DropDownStyle="DropDown" ItemInsertLocation="OrdinalText" MaxLength="200" Width="300px"> </ajaxToolkit:ComboBox> <br /> <br /> <table style="width: 100%"> <tr> <td style="height: 12px; width: 271px"> Contract Begins: <des:DateTextBox ID="dtbETSiteContractBegins" runat="server" EnableContextMenu="False"> <PopupCalendar> <Calendar EnableContextMenu="False"></Calendar> </PopupCalendar> </des:DateTextBox> </td> <td style="height: 12px"> Expiration: <des:DateTextBox ID="dtbETSiteContractExpiration" runat="server" EnableContextMenu="False"> <PopupCalendar> <Calendar EnableContextMenu="False"></Calendar> </PopupCalendar> </des:DateTextBox> </tr> </table> <br /> <asp:Button ID="btnSaveETContractAffiliationsAdd" runat="server" CssClass="SaveButton" OnClick="btnSaveETContractAffiliationsAdd_Click" Text="Save" ValidationGroup="SaveETSiteAgreement" /> <asp:Button ID="btnCancelETContractAffiliationsAdd" runat="server" CausesValidation="False" CssClass="CancelButton" OnClick="btnCancelETContractAffiliationsAdd_Click" Text="Cancel" /> <br /> </asp:Panel> <p> </p> <asp:GridView ID="gvContractAffiliations" runat="server" AutoGenerateColumns="False" DataKeyNames="ETContractAffiliationsID" EmptyDataText="No Contract or Affiliations found" SkinID="gridviewskin" Width="900px"> <Columns> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETContractAffiliationsID" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ETContractAffiliationsID)") %>' Width="1px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:LinkButton ID="lbgvETContractAffiliations" runat="server" CommandName="Edit" CommandArgument='<%# Databinder.eval(container, "rowindex") %>' ToolTip="Click here to edit this Contract or Affiliation">Edit</asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Categories"> <ItemTemplate> <asp:Label ID="lblgvContractAffiliationFlag" runat="server" Text='<%#IIF(Eval("ContractAffiliationFlag")="C","Contract",IIF(Eval("ContractAffiliationFlag")="A","Affiliation","N/A"))%>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Contract Amount"> <ItemTemplate> <asp:Label ID="lblgvETSiteContractAmount" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractAmount)","{0:c}") %>' CssClass="alignMoneyRight" Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="per"> <ItemTemplate> <asp:Label ID="lblgvETSitesContractTerm" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractTerm)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Contract Status"> <ItemTemplate> <asp:Label ID="lblgvETSitesContractStatus" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractStatus)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Begin/Expiration Dates"> <ItemTemplate> <%#DisplayDateRange(Container.DataItem("ContractBeginDate"), Container.DataItem("ContractExpirationDate"))%> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractBeginDate" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractBeginDate)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractExpirationDate" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractExpirationDate)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractFileName" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractFileName)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractMimeType" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(ContractMimeType)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:Label ID="lblgvETSitesContractIsPubliclyViewable" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem,"(IsPubliclyViewable)") %>' Width="100px"></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField> <ItemTemplate> <asp:LinkButton ID="lbViewAttachment" runat="server" Visible="False" CommandName="Download" CommandArgument='<% Bind("ETContractAffiliationsID") %>' ToolTip="Download a single document">Download File</asp:LinkButton> <asp:LinkButton ID="lbAddAttachment" runat="server" Visible="False" CommandName="Add" ToolTip="Add a single document">Add File</asp:LinkButton> <asp:LinkButton ID="lbDeleteAttachment" runat="server" Visible="False" CommandName="Delete" CommandArgument='<% Bind("ETContractAffiliationsID") %>' ToolTip="Delete this document">Delete File</asp:LinkButton> </ItemTemplate> </asp:TemplateField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> </td> </tr> <tr> <td valign="top"> </td> </tr> </table> </asp:Panel> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvContractAffiliations" /> <asp:PostBackTrigger ControlID="btnContractUpload" /> </Triggers> </asp:UpdatePanel> </ContentTemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel runat="server" HeaderText="Preceptors" ID="tpPreceptors"> <ContentTemplate> <asp:UpdatePanel ID="updPreceptors" runat="server"> <ContentTemplate> <b><span style="font-size: large">Preceptors at this Training Site</span></b><br /> <br /> <asp:GridView ID="gvPreceptors" runat="server" AutoGenerateColumns="False" DataKeyNames="PreceptorUserID" EmptyDataText="No Preceptors found" SkinID="gridviewskin" Width="900px"> <Columns> <asp:TemplateField Visible="False" HeaderText="PreceptorUserID"> <ItemTemplate> <asp:Label ID="lblPreceptorUserID" runat="server" Text='<%# Bind("PreceptorUserID") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Preceptor"> <ItemTemplate> <asp:LinkButton ID="lbFullName" runat="server" CommandName="PreceptorViewer" CommandArgument='<%# Bind("PreceptorUserID") %>' Text='<%# Bind("FullName") %>' ToolTip="View additional information about this preceptor"></asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Preceptor Email"> <ItemTemplate> <asp:HyperLink ID="lnkEmail" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.EMailAddress") %>' NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.EMailAddress","MAILTO:{0}")%>'></asp:HyperLink> </ItemTemplate> </asp:TemplateField> <asp:TemplateField Visible="true" HeaderText="Rotation"> <ItemTemplate> <asp:Label ID="lblSiteCourseID" runat="server" Text='<%# Bind("SiteCourseID") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Rotation"> <ItemTemplate> <asp:LinkButton ID="lbRotation" runat="server" CommandName="RotationViewer" CausesValidation="False" CommandArgument='<%# DataBinder.Eval(Container.DataItem,"PreceptorUserID") & "," & DataBinder.Eval(Container.DataItem,"SiteCourseID") & "," %>' Text='<%# Bind("CourseName") %>' ToolTip="View additional information about this rotation"></asp:LinkButton> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Rotation Active?"> <ItemTemplate> <asp:Label ID="lblETIsRotationActive" runat="server" Text='<%# IIF(Container.DataItem("ETIsRotationActive")="1","Yes","No") %>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="Description" HeaderText="Role" /> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> <br /> <br /> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvPreceptors" /> </Triggers> </asp:UpdatePanel> </ContentTemplate> </ajaxToolkit:TabPanel> </ajaxToolkit:TabContainer> </td> </tr> </table></asp:Content>
replacing the vanilla asp.net updatepanel with the infragistics version in tab 2 only makes matters even worse. we get no postback file delivered on the file upload:
(we are even more confused, since your v10.3 samples include 57 <asp:updatepanels...> and 7 <igmisc:webasyncrefreshpanel...> examples. we would think that none of the samples would be using asp.net vanilla controls. we are also, trying to distinguish how webasyncrefreshpanel differentiate between postback and asyncpostbacks.)
here's the replacement tab # 2 code:
<ig:ContentTabItem EnableAjax="True" EnableDynamicUpdatePanel="True" runat="server" Text="Files"> <Template> <%--<asp:UpdatePanel ID="updFiles" runat="server">--%> <igmisc:webasyncrefreshpanel id="updFiles" runat="server" TriggerControlIDs="btnUpload,gvFiles,gvFiles1,btnDone,btnAddNewFile"> <%--<ContentTemplate>--%> <asp:Panel ID="panFiles" runat="server" Width="100%"> <br /> <table style="width: 100%"> <tr> <td valign="top"> <br /> <i>Files are available to students and preceptors after a rotation at this site has been added</i> <i> <br /> to a schedule, and the schedules have beeen released to students and preceptors.</i> <b><br /> <br /> <asp:LinkButton ID="btnAddNewFile" runat="server" Enabled="true">Add New</asp:LinkButton></b> <br /> <br /> <b>Files are available to Students and Preceptors.</b> <br /> <asp:GridView ID="gvFiles" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> <br /> <br /> <b>Files available ONLY to the ET Office.</b> <br /> <asp:GridView ID="gvFiles1" runat="server" AutoGenerateColumns="False" DataKeyNames="FileID" EmptyDataText="No files found" SkinID="gridviewSkin"> <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="btnDownload" runat="server" CausesValidation="False" CommandName="Download" Text="Download"></asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CausesValidation="False" CommandName="DeleteFile" OnClientClick="return confirm('This will permanently delete this document. Are you sure you want to continue?');" Text="Delete"></asp:LinkButton></ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="FileName" HeaderText="File Name"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="FileSize" HeaderText="File Size" DataFormatString="{0:#,###,### bytes}"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:TemplateField HeaderText="Is Publicly Viewable" Visible="False" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:CheckBox ID="gvcbIsPubliclyViewable" Visible="false" runat="server" Checked='<%# IIF(Container.DataItem("IsPubliclyViewable")="1",1,0) %>' Enabled="false" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="CreateUserName" HeaderText="Created"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> <asp:BoundField DataField="CreateDateTime" DataFormatString="{0:d}" HeaderText="File Date"> <HeaderStyle CssClass="leftPaddedCol" /> <ItemStyle CssClass="leftPaddedCol" /> </asp:BoundField> </Columns> <EmptyDataRowStyle BackColor="Yellow" /> </asp:GridView> </asp:Panel> <asp:Panel ID="panUpload" runat="server" Visible="false" Width="100%"> <br /> <p> File size is limited to 2MB per file. Accepted file formats are Microsoft Word (.doc/.docx), Excel (.xls/.xlsx) and Powerpoint (.ppt/.pptx), Zip files (.zip), and Adobe Acrobat (.pdf) files.</p> <p> <strong>Upload a New File <asp:CheckBox ID="cbIsPubliclyViewable" runat="server" Text="I want to make this available for Students and Preceptors to view." Font-Italic="True" ForeColor="Blue" /></strong></p> <p> <asp:FileUpload ID="txtFileUpload" runat="server" Width="36em" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please select a file to upload" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="valExtension" runat="server" ErrorMessage="This file type is not supported." ValidationExpression=".*\.(([Dd][Oo][Cc][Xx]?)|([Pp][Dd][Ff])|([Xx][Ll][Ss][Xx]?)|([Pp][Pp][Tt][Xx]?)|([Zz][Ii][Pp]))$" ControlToValidate="txtFileUpload" Display="Dynamic" SetFocusOnError="True" ValidationGroup="fileupload"> </asp:RegularExpressionValidator> </p> <asp:Label ID="lblFileUploadMessage" runat="server" EnableViewState="False" Style="color: red;"> </asp:Label> <p> <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" OnClientClick="BLOCKED SCRIPTdocument.forms[0].encoding = 'multipart/form-data';" CssClass="SaveButton" ValidationGroup="fileupload" /> <asp:Button ID="btnDone" runat="server" CssClass="InfoButtonchp" Text="Done" /></p> </asp:Panel> <%--</ContentTemplate>--%> <%--<Triggers> <asp:PostBackTrigger ControlID="btnUpload" /> <asp:PostBackTrigger ControlID="gvFiles" /> <asp:PostBackTrigger ControlID="gvFiles1" /> <asp:AsyncPostBackTrigger ControlID="btnDone" EventName="Click" /> <asp:AsyncPostBackTrigger ControlID="btnAddNewFile" EventName="Click" /> </Triggers>--%> <%--</asp:UpdatePanel>--%> </igmisc:webasyncrefreshpanel> </Template> </ig:ContentTabItem>