<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%> <%@ Page Language="C#" DynamicMasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.ApplicationPages.BasicFieldEditPage" %> <%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register TagPrefix="wssuc" TagName="LinksTable" src="/_controltemplates/LinksTable.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="/_controltemplates/InputFormSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="/_controltemplates/InputFormControl.ascx" %> <%@ Register TagPrefix="wssuc" TagName="LinkSection" src="/_controltemplates/LinkSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="/_controltemplates/ButtonSection.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ActionBar" src="/_controltemplates/ActionBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBar" src="/_controltemplates/ToolBar.ascx" %> <%@ Register TagPrefix="wssuc" TagName="ToolBarButton" src="/_controltemplates/ToolBarButton.ascx" %> <%@ Register TagPrefix="wssuc" TagName="Welcome" src="/_controltemplates/Welcome.ascx" %> <%@ Register Tagprefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <% String strType = ""; String strTypeSaveAsTempDesc = ""; String strTypeSaveAsTempText2 = ""; String strListType = ""; String strDelWarn = ""; String L_strType_Text = ""; String L_strTypeSaveAsTmplDesc_Text = ""; String L_strTypeSaveAsTmplText2_Text = ""; String L_strListType_Text = ""; String L_strDelWarn_Text = ""; %> <% if (spField == null) { throw new SPException(SPResource.GetString(Strings.FieldGone)); } if (spList == null) Version = spField.Version; %> <% if (spList == null) { %> <% } else { %> ><%SPHttpUtility.HtmlEncode(spList.Title,Response.Output);%> > <% } %> <% if (spList == null) { %> <% } else { %> <% { string str = (string)(this.GetGlobalResourceObject("wss", "fldedit_usepagetoeditcolumn")); string strParam; switch (iBaseType) { case SPBaseType.DocumentLibrary: if (SPListTemplateType.PictureLibrary == iServerTemplate) { strParam = "listname_picturelib"; } else if (SPListTemplateType.XMLForm == iServerTemplate) { strParam = "listname_formlib"; } else if (SPListTemplateType.DataConnectionLibrary == iServerTemplate) { strParam = "listname_dcllib"; } else if (SPListTemplateType.ListTemplateCatalog == iServerTemplate || SPListTemplateType.WebTemplateCatalog == iServerTemplate || SPListTemplateType.WebPartCatalog == iServerTemplate) { strParam = "listname_gallery"; } else { strParam = "listname_doclib"; } break; case SPBaseType.DiscussionBoard: strParam = "listname_disc"; break; case SPBaseType.Survey: strParam = "listname_survey"; break; default: strParam = "listname_list"; break; } strParam = (string)(this.GetGlobalResourceObject("wss", strParam)); str = string.Format(str, strParam); SPHttpUtility.NoEncode(str,Response.Output); } %> <% } %> <% String strLinkTitle = ""; String strList = ""; String strName = ""; String strDisplayName = ""; String strDescription = ""; String strFieldTypeParam = ""; bool bRequired = false; bool bEnforceUniqueValues = false; bool bIndexed = false; bool bUnlimitedLengthInDocumentLibrary = false; bool bSealed = false; bool bCanBeDeleted = true; String strDirection = "None"; String strFormat = ""; String strDefault = ""; String strDefaultFormula = String.Empty; bool fDefaultFormulaEmpty = true; String strDefaultURLDesc = ""; int iMaxLength = int.MaxValue; int iNumLines = int.MaxValue; double dblMin = double.MinValue; double dblMax = double.MaxValue; String strDecimals = ""; bool bPercentage = false; bool bRichText = true; bool bDisableRichTextModeControl = false; SPRichTextMode RichTextMode = SPRichTextMode.FullHtml; bool bAllowHyperlink = false; bool bAppendOnly = false; String strFromBaseType = ""; String strLookupList = ""; String strLookupField = ""; String strShowPresence = ""; String strDisplaySize = ""; String strDisplayNameParam = ""; bool bShowIME = RegionalSettings.IsEastAsia; bool bShowBidiDirection = RegionalSettings.IsRightToLeft; bool bShowCalendarUI = (RegionalSettings.CalendarType != 1); int iWebCalType = (int) RegionalSettings.CalendarType; int iCalType = iWebCalType; bool bUseDefault = true; String strCalType = ""; String strChoiceTextArea =""; String strGridChoiceTextArea =""; int GridStartNum = 1; int GridEndNum = 5; String strGridTxtRng1 = ""; String strGridTxtRng2 = ""; String strGridTxtRng3 = ""; String strGridNATxt = ""; String strIMEMode = ""; String strFillInChoice = ""; String strResultType = ""; String strFormula = ""; SPView spDefaultView = spList == null ? null : spList.DefaultView; string strHiddenSchema = ""; string strCheckedLiteral = " checked=\"checked\" "; bool bPrevDeniedState = SPSecurity.CatchAccessDeniedException; string strDisableRequired = ""; string strDisableEnforceUniqueValues = ""; strName = spField.InternalName; strDisplayName = spField.Title; bRequired = spField.Required; bEnforceUniqueValues = spField.EnforceUniqueValues; bIndexed = spField.Indexed; bSealed = spField.Sealed; bCanBeDeleted = spField.CanBeDeleted; strDescription = spField.Description; FieldTypeName = spField.TypeAsString; strDirection = spField.Direction; strFromBaseType = spField.FromBaseType?"TRUE":"FALSE"; strDisplaySize = spField.DisplaySize; strIMEMode = spField.IMEMode != null ? spField.IMEMode : ""; VldFormula.Text = spField.ValidationFormula; VldMessage.Text = spField.ValidationMessage; if (spField is SPFieldMultiLineText) { bUnlimitedLengthInDocumentLibrary = ((SPFieldMultiLineText)spField).UnlimitedLengthInDocumentLibrary; } if (strListId == null) { ContentTypePageUtil.FetchFieldGroups( Web.AvailableFields, SelectExistingGroupName, spField.Group, null); } if (strListId == null) { string defaultGroup = Request.QueryString.Get("GroupNameParam"); if (defaultGroup != null) defaultGroup.Trim(); if (defaultGroup != null && defaultGroup.Length > 0) { ListItem item = SelectExistingGroupName.Items.FindByValue(defaultGroup); if (item != null) { SelectExistingGroupName.Value = defaultGroup; } else { RadNewGroup.Checked = true; TxtNewGroupName.Value = defaultGroup; } } } if ( Request.Url.ToString().IndexOf("DisplayNameParam") != -1 ) { strDisplayName = Request.QueryString.GetValues("DisplayNameParam")[0]; } if ( Request.Url.ToString().IndexOf("DescriptionParam") != -1 ) { strDescription = Request.QueryString.GetValues("DescriptionParam")[0];} if ( Request.Url.ToString().IndexOf("FieldTypeParam") != -1 ) { strFieldTypeParam = Request.QueryString.GetValues("FieldTypeParam")[0]; FieldTypeName = strFieldTypeParam; } if ( Request.Url.ToString().IndexOf("LookupListParam") != -1 ) {strLookupList = Request.QueryString.GetValues("LookupListParam")[0] ; } if ( Request.Url.ToString().IndexOf("LookupFieldParam") != -1 ) {strLookupField = Request.QueryString.GetValues("LookupFieldParam")[0]; } if ( Request.Url.ToString().IndexOf("ShowPresence") != -1 ) {strShowPresence = Request.QueryString.GetValues("ShowPresence")[0]; } if ( Request.Url.ToString().IndexOf("VldFormulaParam") != -1 ) { VldFormula.Text = Request.QueryString.GetValues("VldFormulaParam")[0]; } if ( Request.Url.ToString().IndexOf("VldMessageParam") != -1 ) { VldMessage.Text = Request.QueryString.GetValues("VldMessageParam")[0]; } if (FieldTypeName == "") { FieldTypeName = "Text"; } if (spField.TypeAsString == FieldTypeName || (spField.Type == SPFieldType.MultiChoice && FieldTypeName == "Choice")) { strDefaultFormula = spField.DefaultFormula; fDefaultFormulaEmpty = String.IsNullOrEmpty(strDefaultFormula); if (fDefaultFormulaEmpty) { strDefault = spField.DefaultValue; } switch(spField.Type) { case SPFieldType.Text: { SPFieldText field = (SPFieldText)spField; iMaxLength = field.MaxLength; break; } case SPFieldType.Calculated: { SPFieldCalculated field= (SPFieldCalculated)spField; strFormula = field.Formula; CurrencyLocaleId = (int)field.Currency; strDecimals = Convert.ToString((int)field.DisplayFormat); strResultType = Convert.ToString(field.OutputType); bPercentage = field.ShowAsPercentage; strFormat = Convert.ToString(field.DateFormat); break; } case SPFieldType.Number: { SPFieldNumber field = (SPFieldNumber)spField; strDecimals = Convert.ToString((int)field.DisplayFormat); dblMin = field.MinimumValue; dblMax = field.MaximumValue; bPercentage = field.ShowAsPercentage; break; } case SPFieldType.Currency: { SPFieldCurrency field = (SPFieldCurrency)spField; strDecimals = Convert.ToString((int)field.DisplayFormat); dblMin = field.MinimumValue; dblMax = field.MaximumValue; CurrencyLocaleId = (int)field.Currency; break; } case SPFieldType.Note: { SPFieldMultiLineText field = (SPFieldMultiLineText)spField; iNumLines = field.NumberOfLines; bAllowHyperlink = field.AllowHyperlink; break; } case SPFieldType.DateTime: { SPFieldDateTime field = (SPFieldDateTime)spField; iCalType = (int)field.CalendarType; if (iCalType > 0) bUseDefault = false; else if (iCalType == 0) iCalType = iWebCalType; if ((iCalType != 1) && !String.IsNullOrEmpty(strDefault) && IsPreviewableCalType(iCalType)) { try { strDefault = SPUtility.GregorianISOToIntlISODate(Web, strDefault, iCalType); } catch { strDefault = ""; } } strFormat = Convert.ToString(field.DisplayFormat); break; } case SPFieldType.Choice: { SPFieldChoice field = (SPFieldChoice)spField; strFormat = Convert.ToString(field.EditFormat); strFillInChoice = field.FillInChoice?"TRUE":"FALSE"; StringBuilder str = new StringBuilder(); StringCollection choices = field.Choices; foreach(String choice in choices) { str.Append( choice ); str.Append("\n" ); } strChoiceTextArea = str.ToString(); if (field.Mappings != null) strHiddenSchema += field.Mappings; break; } case SPFieldType.MultiChoice: { SPFieldMultiChoice field = (SPFieldMultiChoice)spField; strFillInChoice = field.FillInChoice?"TRUE":"FALSE"; StringBuilder str = new StringBuilder(); StringCollection choices = field.Choices; foreach(String choice in choices) { str.Append( choice ); str.Append("\n" ); } strChoiceTextArea = str.ToString(); FieldTypeName = "Choice"; strFormat = "Checkboxes"; if (field.Mappings != null) strHiddenSchema += field.Mappings; break; } case SPFieldType.GridChoice: { SPFieldRatingScale field = (SPFieldRatingScale)spField; StringBuilder str = new StringBuilder(); StringCollection choices = field.Choices; foreach(String choice in choices) { str.Append( choice ); str.Append("\n" ); } strGridChoiceTextArea = str.ToString(); FieldTypeName = "GridChoice"; GridEndNum = Convert.ToInt32(field.GridEndNumber); strGridTxtRng1 = field.GridTextRangeLow; strGridTxtRng2 = field.GridTextRangeAverage; strGridTxtRng3 = field.GridTextRangeHigh; strGridNATxt = field.GridNAOptionText; if (field.Mappings != null) strHiddenSchema += field.Mappings; break; } case SPFieldType.PageSeparator: { SPFieldPageSeparator field = (SPFieldPageSeparator)spField; break; } case SPFieldType.Lookup: { SPFieldLookup field = (SPFieldLookup)spField; strLookupList = field.LookupList; if(spList != null && (String.IsNullOrEmpty(strLookupList) || strLookupList == "self")) { strLookupList = spList.ID.ToString("B").ToUpper(); } strLookupField = field.LookupField; if (String.IsNullOrEmpty(strLookupField)) strLookupField = "Title"; strShowPresence = "FALSE"; break; } case SPFieldType.User: { SPFieldUser field = (SPFieldUser)spField; strLookupList = "UserInfo"; strLookupField = field.LookupField; if (String.IsNullOrEmpty(strLookupField)) strLookupField = "Title"; strShowPresence = field.Presence ? "" : "FALSE"; break; } case SPFieldType.URL: { SPFieldUrl field = (SPFieldUrl)spField; strFormat = Convert.ToString(field.DisplayFormat); break; } } } if (spField is SPFieldMultiLineText) { bRichText = ((SPFieldMultiLineText)spField).RichText; bAppendOnly = ((SPFieldMultiLineText)spField).AppendOnly; RichTextMode = ((SPFieldMultiLineText)spField).RichTextMode; if (bRichText && (RichTextMode == SPRichTextMode.HtmlAsXml || RichTextMode == SPRichTextMode.ThemeHtml)) { bDisableRichTextModeControl = true; } } bool bAllowFieldTypeChange = false; if (!spField.FromBaseType && !spField.Sealed && (spField.Type == SPFieldType.Text || spField.Type == SPFieldType.Choice || (spField.Type == SPFieldType.Note && bRichText == false) || spField.Type == SPFieldType.MultiChoice || spField.Type == SPFieldType.Number || spField.Type == SPFieldType.Currency || spField.Type == SPFieldType.DateTime || spField.Type == SPFieldType.Boolean)) { bAllowFieldTypeChange = true; } if ( Request.Url.ToString().IndexOf("CalType") != -1 ) { strCalType = Request.QueryString.GetValues("CalType")[0]; if (strCalType != "") { iCalType = Convert.ToInt32(strCalType); if (iCalType > 0) bUseDefault = false; else if(iCalType == 0) { bUseDefault = true; iCalType = iWebCalType; } } } string L_strAutoIndexConfirm_Text = SPHttpUtility.EcmaScriptStringLiteralEncode(SPResource.GetString(Strings.EnforceUniqueValuesAutoIndex)); if (spField.TypeAsString != FieldTypeName && ! (spField.Type == SPFieldType.MultiChoice && FieldTypeName == "Choice")) { switch(FieldTypeName) { case "Text": if (iMaxLength == int.MaxValue) iMaxLength = 255; break; case "Note": if (iNumLines == int.MaxValue) iNumLines = 6; break; case "Choice": strFormat = "Dropdown"; strFillInChoice = "FALSE"; break; case "MultiChoice": FieldTypeName = "Choice"; strFormat = "Checkboxes"; strFillInChoice = "FALSE"; break; case "DateTime": strFormat = "DateOnly"; break; case "Calculated": strResultType = "Text"; strFormula = ""; strFormat = "DateOnly"; CurrencyLocaleId = Web.CurrencyLocaleID; break; case "Currency": CurrencyLocaleId = Web.CurrencyLocaleID; break; } if (FieldTypeName == "Choice") { bool distinctSuccess = false; if(spField.Type == SPFieldType.Text) { object[,] fieldValuesArr = null; uint fieldValueCount = 0; if (spList != null) fieldValueCount = spList.GetDistinctFieldValues(spField, out fieldValuesArr); if(fieldValueCount != 0) { for(uint i = 0; i < fieldValueCount; i++) { strChoiceTextArea += fieldValuesArr[0,i].ToString() + "\r\n"; } strDefault = fieldValuesArr[0,0].ToString(); distinctSuccess = true; } } if(!distinctSuccess) { String L_strDefaultChoice_Text= (string)(this.GetGlobalResourceObject("wss", "fldedit_L_strDefaultChoice_Text")); strChoiceTextArea = L_strDefaultChoice_Text + "\r\n" + (string)(this.GetGlobalResourceObject("wss", "fldedit_L_strChoice2_Text")) + "\r\n" + (string)(this.GetGlobalResourceObject("wss", "fldedit_L_strChoice3_Text")); strDefault = L_strDefaultChoice_Text; } } } %> <% %>
name="Name" /> name="FromBaseType" /> name="DisplaySize" /> <% if (FieldTypeName == "PageSeparator") goto showSubmitButtons; %> <% if (!bSealed) { switch ( FieldTypeName ) { case "Boolean" : break; case "Calculated" : break; default : if (spList != null && spList.AllowContentTypes && spList.ContentTypesEnabled) { SPContentTypeCollection cts = spList.ContentTypes; bool bShowRequiredProp = true; if (cts.Count > 1) { bShowRequiredProp = false; if (cts.Count == 2) { SPContentTypeId ctId = cts.BestMatch(SPBuiltInContentTypeId.Folder); bShowRequiredProp = ctId.Parent == SPBuiltInContentTypeId.Folder; } } if (!bShowRequiredProp) break; } %> <% break; } %> <% bool bShowEnforceUniqueValuesControl = false; if (spField.TypeAsString != FieldTypeName) { bShowEnforceUniqueValuesControl = CanSetUniquenessOnNewField(FieldTypeName); } else { bShowEnforceUniqueValuesControl = CanSetUniquenessOnField(spField); } if (bShowEnforceUniqueValuesControl) { %> <% } %> <% switch ( FieldTypeName ) { case "Note" : if (SPBaseType.DocumentLibrary == iBaseType || SPBaseType.UnspecifiedBaseType == iBaseType) { string strYes = (string)(this.GetGlobalResourceObject("wss", "fldedit_UnlimitedLengthInDocumentLibraryYes")); string strNo = (string)(this.GetGlobalResourceObject("wss", "fldedit_UnlimitedLengthInDocumentLibraryNo")); %> <% } %> <% if ((SPBaseType.DocumentLibrary != iBaseType) && (spField.Type == SPFieldType.Text || spField.Type == SPFieldType.Note) ) { %> <% } if (bShowBidiDirection) {%> <%}%> <% break; case "Boolean": %> <% break; case "URL": %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Calculated" : %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Number" : %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Currency": %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Lookup" : case "User" : %> <% if (strLookupList == "UserInfo" && Web.EffectivePresenceEnabled) { %> <% } %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Choice": %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "GridChoice": %> <%if (bShowBidiDirection) {%> <%}%> <% break; case "DateTime": %> <%if (bShowCalendarUI) {%> <%}%> <%if (bShowBidiDirection) {%> <%}%> <% break; case "Text": %> <%if (bShowBidiDirection) {%> <%}%> <% break; } } else { if (bShowBidiDirection) {%> <%} } %> <% if (bShowIME && !bSealed && FieldTypeName !="Lookup" && FieldTypeName!="DateTime" && FieldTypeName != "GridChoice" && FieldTypeName != "Calculated" && FieldTypeName != "Number" && FieldTypeName != "Currency" && FieldTypeName != "User" && FieldTypeName != "Boolean" && !(FieldTypeName == "Note" && bRichText == true) && strField != "PageSeparator") { %> <% } %> <% if (spList == null) { %>
<% } %> <% string strValidationSectionStyle = ""; if (!bSealed) { if (spField.Type == SPFieldType.MultiChoice) strValidationSectionStyle = " style='display: none'"; string strValidationSettingsStyle = " style='display: none'"; string strValidationImgSrc = "/_layouts/images/plus.gif"; if (!String.IsNullOrEmpty(VldFormula.Text) || !String.IsNullOrEmpty(VldMessage.Text)) { strValidationSettingsStyle = ""; strValidationImgSrc = "/_layouts/images/minus.gif"; } switch (FieldTypeName) { case "Choice": case "Currency": case "DateTime": case "Integer": case "Number": case "Text": %> > > <% break; } %> <% } %> <% showSubmitButtons: %>
<% if (!bSealed) { %> <% } else { %> <% } %>

   
/>
   
<% if (bAllowFieldTypeChange == false) { %>
<%SPHttpUtility.HtmlEncode(spField.TypeShortDescription, Response.Output);%> name="Type" />
<% } else { %>
<% if (spField.Type == SPFieldType.Text || spField.Type == SPFieldType.Choice || spField.Type == SPFieldType.Note || spField.Type == SPFieldType.MultiChoice || spField.Type == SPFieldType.Number || spField.Type == SPFieldType.Currency || spField.Type == SPFieldType.DateTime || spField.Type == SPFieldType.Boolean) { %> <% } if (spField.Type == SPFieldType.Text || spField.Type == SPFieldType.Choice || spField.Type == SPFieldType.Note || spField.Type == SPFieldType.MultiChoice || spField.Type == SPFieldType.Number || spField.Type == SPFieldType.Currency || spField.Type == SPFieldType.Boolean) { %> <% } if (spField.Type == SPFieldType.Text || spField.Type == SPFieldType.Choice || spField.Type == SPFieldType.Note || spField.Type == SPFieldType.MultiChoice || spField.Type == SPFieldType.DateTime) { %> <% } if (spField.Type == SPFieldType.Number || spField.Type == SPFieldType.Currency || spField.Type == SPFieldType.Boolean) { %> <% } %>
<% if ( FieldTypeName == "Text" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "Note" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "Choice" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "Number" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "Currency" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "DateTime" ) { %> <% ; } else { %> <% ; } %>
<% if ( FieldTypeName == "Boolean" ) { %> <% ; } else { %> <% ; } %>
<% } %>
  

 
 
  

   
  <% %>  
<% if ( bRequired == true ) { %> title="" checked="checked" /> <% ; } else { %> title="" /> <% ; } %> <% if ( bRequired == true ) { %> title="" /> <% ; } else { %> title="" checked="checked" /> <% ;} %>
   
<% if ( bEnforceUniqueValues == true ) { %> <% ; } else { %> <% ; } %> <% if ( bEnforceUniqueValues == true ) { %> <% ; } else { %> <% ;} %>
   
checked="checked"<%}%> value="TRUE" /> checked="checked"<%}%> value="TRUE" />
   
   
<% if (bAllowHyperlink) {%> <%}%>
<% if ( bRichText == true ) { %> disabled="true"<% } %>title="" /> <% ; } else { %> disabled="true"<% } %>title="" checked="checked" /> <% ;} %>
<% if ( (bRichText && RichTextMode == SPRichTextMode.Compatible) == true ) { %> disabled="true"<% } %>title="" checked="checked" /> <% ; } else { %> disabled="true"<% } %>title="" /> <% ; } %>
<% if ( (bRichText && RichTextMode == SPRichTextMode.FullHtml) == true ) { %> disabled="true"<% } %>title="" checked="checked" /> <% ; } else { %> disabled="true"<% } %>title="" /> <% ; } %>
   
<% if ( bAppendOnly == true ) { %> <% ; } else { %> <% ; } %> <% if ( bAppendOnly == true ) { %> <% ; } else { %> <% ;} %>
   
  : 
   
" /> />
   
 
 
   
<% if ( strResultType == "Text" ) { %> <% ; } else { %> <% ; } %>
<% if ( strResultType == "Number" ) { %> <% ; } else { %> <% ; } %>
<% if ( strResultType == "Currency" ) { %> <% ; } else { %> <% ; } %>
<% if ( strResultType == "DateTime" ) { %> <% ; } else { %> <% ; } %>
<% if ( strResultType == "Boolean" ) { %> <% ; } else { %> <% ; } %>
  :  
 
   
   
<% if ( strFormat == "DateOnly" ) { %> <% ; } else { %> <% ; } %> <% if ( strFormat == "DateTime" ) { %> <% ; } else { %> <% ; } %>
   
   
:       : 
  : 
 
onclick="fld.fCalcCheck=false;" title="" /> onclick="fld.fCalcCheck=true;" title="" />
 
<% if ( bPercentage == true ) { %> <% ; } else { %> <% ; } %>
   
   
:  : 
  : 
 
onclick="fld.fCalcCheck=false;" title="" /> onclick="fld.fCalcCheck=true;" title="" />
   
   
   
/> <% if (strLookupList == "UserInfo") { FieldTypeName = "User"; %> <% } else if (strLookupList != "Docs") { FieldTypeName = "Lookup"; SPSecurity.CatchAccessDeniedException = false; SPList spListLookup = null; try { spListLookup = spLists[new Guid(strLookupList)]; if (spListLookup != null) { SPHttpUtility.HtmlEncode(spListLookup.Title,Response.Output); } } catch (UnauthorizedAccessException) { } catch (SPException) { } finally { SPSecurity.CatchAccessDeniedException = bPrevDeniedState; } } %>
     
/> <% if (strLookupList == "UserInfo") { if (strLookupField == "ID") { %> <% } else if (strLookupField == "EMail") { %> <% } else if (strLookupField == "Name") { %> <% } else { %> <% } } else if (strLookupList != "Docs") { SPSecurity.CatchAccessDeniedException = false; spFields = null; try { SPList spListLookup = spLists[new Guid(strLookupList)]; if (spListLookup != null) spFields = spListLookup.Fields; } catch (UnauthorizedAccessException) { } catch (SPException) { } finally { SPSecurity.CatchAccessDeniedException = bPrevDeniedState; } if (spFields != null) { try { spField = spFields.GetFieldByInternalName( strLookupField); SPHttpUtility.HtmlEncode(spField.Title,Response.Output); switch (spField.Type) { case SPFieldType.Counter: case SPFieldType.Text: break; default: string L_InvalidLookupFieldType_Text = (string)(this.GetGlobalResourceObject("wss", "fldedit_invalidtype")); SPHttpUtility.HtmlEncode(L_InvalidLookupFieldType_Text,Response.Output); break; } } catch (ArgumentException ae) { SPHttpUtility.HtmlEncode(strLookupField,Response.Output); string L_DeletedLookupField_Text = (string)(this.GetGlobalResourceObject("wss", "fldedit_L_DeletedLookupField_Text")); SPHttpUtility.HtmlEncode(L_DeletedLookupField_Text,Response.Output); } } } %> />
   
<% if ( strShowPresence == "FALSE" ) { %> <% ; } else { %> <% ;} %>
   
  : 
   
<% string strChoiceFormatOnClick = "onclick = 'disableUniquenessIfMultiChoice(); showValidationSection(); return true;'"; %> <% if ( strFormat == "Dropdown" ) { %> id="onetidChoiceDD" title="" checked="checked" /> <% ; } else { %> id="onetidChoiceDD" title="" /> <% ; } %>
<% if ( strFormat == "RadioButtons" ) { %> id="onetidChoiceRadio" title="" checked="checked" /> <% ; } else { %> id="onetidChoiceRadio" title="" /> <% ; } %>
<% if ( strFormat == "Checkboxes" ) { %> id="onetidChoiceCheck" title="" checked="checked" /> <% ; } else { %> id="onetidChoiceCheck" title="" /> <% ; } %>
   
<% if ( strFillInChoice == "TRUE" ) { %> <% ; } else { %> <% ; } %> <% if ( strFillInChoice == "TRUE" ) { %> <% ; } else { %> <% ;} %>
 
title="" id="onetidDefaultChoiceValue0" />   title="" id="onetidDefaultChoiceValue2" />  
id="onetidIODefChoiceValue" title="" />
   

  : 
  : 
<% int GridSelected = GridEndNum; %>
   
/>  />  /> 
   
    checked <% } %> />    
  <% if (strGridNATxt != null && strGridNATxt != "") {%> /> <%} else { %> <%}%>
   
   
<% if ( strFormat == "DateOnly" ) { %> <% ; } else { %> <% ; } %> <% if ( strFormat == "DateTime" ) { %> <% ; } else { %> <% ; } %>
   
<% if ( bUseDefault == true ) { %> <% ; } else { %> <% ; } %>
<% if ( bUseDefault == true ) { %> <% ; } else { %> <% ;} %>
   


<% if (IsPreviewableCalType(iCalType)) { %> id="onetidIOLiteralDefaultDate" title="" />
<% } else { %> <% } %>
<% if (IsPreviewableCalType(iCalType)) { %> onclick="document.forms[MSOWebPartPageFormName].Default[3].checked = 1;" <% } else { %> onclick="document.forms[MSOWebPartPageFormName].Default[2].checked = 1;" <% } %> title=""/>
   
  : 
 
title="" /> title="" />
title="" />
   
   
   
  

 


  

border="0" alt="" /> 

 

   
  
   
  
  <% if (bCanBeDeleted) { %> <% } %>                  
 
 
/> /> /> /> /> /> />
<%@ Register TagPrefix="wssuc" TagName="TopNavBar" src="~/_controltemplates/TopNavBar.ascx" %>