Click here to Skip to main content
15,895,841 members
Articles / Web Development / ASP.NET

Smum County Modal Form for ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.62/5 (15 votes)
17 Mar 2008CPOL7 min read 146.6K   1.7K   82  
Improvements on the ModalPopupExtender control provided as part of the ASP.NET AJAX Control Toolkit.
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!-- 
    Microsoft ResX Schema 
    
    Version 2.0
    
    The primary goals of this format is to allow a simple XML format 
    that is mostly human readable. The generation and parsing of the 
    various data types are done through the TypeConverter classes 
    associated with the data types.
    
    Example:
    
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
                
    There are any number of "resheader" rows that contain simple 
    name/value pairs.
    
    Each data row contains a name, and value. The row also contains a 
    type or mimetype. Type corresponds to a .NET class that support 
    text/value conversion through the TypeConverter architecture. 
    Classes that don't support this are serialized and stored with the 
    mimetype set.
    
    The mimetype is used for serialized objects, and tells the 
    ResXResourceReader how to depersist the object. This is currently not 
    extensible. For a given mimetype the value must be set accordingly:
    
    Note - application/x-microsoft.net.object.binary.base64 is the format 
    that the ResXResourceWriter will generate, however the reader can 
    read any of the formats listed below.
    
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
    
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with 
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array 
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <data name="AlwaysVisible_ElementRequired" xml:space="preserve">
    <value>必须为 AjaxControlToolkit.AlwaysVisibleControlBehavior 指定一个元素</value>
  </data>
  <data name="Animation_CannotNestSequence" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.ParallelAnimation 不能内含 AjaxControlToolkit.Animation.SequenceAnimation</value>
  </data>
  <data name="Animation_ChildrenNotAllowed" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.createAnimation 无法加入一个不是派生自 AjaxControlToolkit.Animation.ParentAnimation 且类型为 {0} 的子动画</value>
  </data>
  <data name="Animation_InvalidBaseType" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.registerAnimation 只能注册那些继承自 AjaxControlToolkit.Animation.Animation 的类型</value>
  </data>
  <data name="Animation_InvalidColor" xml:space="preserve">
    <value>标记名称 Color 必须是 7 个字符的 16 进位字符串(例如:#246ACF),不能是 {0}</value>
  </data>
  <data name="Animation_MissingAnimationName" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.createAnimation 必须持有一个 AnimationName 属性的对象</value>
  </data>
  <data name="Animation_NoDynamicPropertyFound" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.createAnimation 找不到相对应的  {0} 或 {1} 属性</value>
  </data>
  <data name="Animation_NoPropertyFound" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.createAnimation 找不到相对应的 {0} 属性</value>
  </data>
  <data name="Animation_TargetNotFound" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.Animation.set_animationTarget 需要一个 Sys.UI.DomElement 或 Sys.UI.Control 类的控件  ID。找不到相对应的  {0} 之元素或控件</value>
  </data>
  <data name="Animation_UknownAnimationName" xml:space="preserve">
    <value>AjaxControlToolkit.Animation.createAnimation 找不到名称为 {0} 的动画</value>
  </data>
  <data name="Calendar_Today1" xml:space="preserve">
    <value>今天:  {0}</value>
  </data>
  <data name="CascadingDropDown_MethodError" xml:space="preserve">
    <value>[方法错误 {0}]</value>
  </data>
  <data name="CascadingDropDown_MethodTimeout" xml:space="preserve">
    <value>[方法逾时]</value>
  </data>
  <data name="CascadingDropDown_NoParentElement" xml:space="preserve">
    <value>无法找到父元素 {0}</value>
  </data>
  <data name="CollapsiblePanel_NoControlID" xml:space="preserve">
    <value>无法找到元素 {0}</value>
  </data>
  <data name="Common_DateTime_InvalidFormat" xml:space="preserve">
    <value>格式无效</value>
  </data>
  <data name="Common_DateTime_InvalidTimeSpan" xml:space="preserve">
    <value>{0} 的 TimeSpan 格式无效</value>
  </data>
  <data name="Common_InvalidBorderWidthUnit" xml:space="preserve">
    <value>单位类型 {0} 对 parseBorderWidth 而言无效</value>
  </data>
  <data name="Common_InvalidPaddingUnit" xml:space="preserve">
    <value>单位类型 {0} 对 parsePadding 而言无效</value>
  </data>
  <data name="Common_UnitHasNoDigits" xml:space="preserve">
    <value>没有数字</value>
  </data>
  <data name="DynamicPopulate_WebServiceError" xml:space="preserve">
    <value>无法调用 Web 服务:{0}</value>
  </data>
  <data name="DynamicPopulate_WebServiceTimeout" xml:space="preserve">
    <value>调用 Web 服务超时</value>
  </data>
  <data name="ExtenderBase_CannotSetClientStateField" xml:space="preserve">
    <value>只能在初始化之前设定 clientStateField</value>
  </data>
  <data name="ExtenderBase_ControlNotRegisteredForCallbacks" xml:space="preserve">
    <value>这个控件尚未注册,无法提供回调</value>
  </data>
  <data name="ExtenderBase_InvalidClientStateType" xml:space="preserve">
    <value>saveClientState 必须返回 String 类型的值</value>
  </data>
  <data name="ExtenderBase_PageNotRegisteredForCallbacks" xml:space="preserve">
    <value>这个页面尚未注册,无法提供回调</value>
  </data>
  <data name="ListSearch_DefaultPrompt" xml:space="preserve">
    <value>请键入以便搜寻</value>
  </data>
  <data name="PasswordStrength_DefaultStrengthDescriptions" xml:space="preserve">
    <value>没有;很弱;弱;差;差强人意;尚可;普通;好;很好;非常好;臻于完美!</value>
  </data>
  <data name="PasswordStrength_GetHelpRequirements" xml:space="preserve">
    <value>取得密码强度的要求说明</value>
  </data>
  <data name="PasswordStrength_InvalidStrengthDescriptions" xml:space="preserve">
    <value>所指定的密码强度文字内容个数无效</value>
  </data>
  <data name="PasswordStrength_InvalidStrengthDescriptionStyles" xml:space="preserve">
    <value>密码强度文字说明的样式表,必须符合文字内容之个数</value>
  </data>
  <data name="PasswordStrength_InvalidWeightingRatios" xml:space="preserve">
    <value>密码强度的权重比例必须有 4 种</value>
  </data>
  <data name="PasswordStrength_RemainingCharacters" xml:space="preserve">
    <value>还需要 {0} 个字符</value>
  </data>
  <data name="PasswordStrength_RemainingMixedCase" xml:space="preserve">
    <value>大小写混合</value>
  </data>
  <data name="PasswordStrength_RemainingNumbers" xml:space="preserve">
    <value>还需要 {0} 个数字</value>
  </data>
  <data name="PasswordStrength_RemainingSymbols" xml:space="preserve">
    <value>还需要 {0} 个符号</value>
  </data>
  <data name="PasswordStrength_Satisfied" xml:space="preserve">
    <value>密码强度已经足够</value>
  </data>
  <data name="PasswordStrength_StrengthPrompt" xml:space="preserve">
    <value>强度:</value>
  </data>
  <data name="PopupControl_NoDefaultProperty" xml:space="preserve">
    <value>类型 {1} 的 控件 {0} 不支持预设属性</value>
  </data>
  <data name="PopupExtender_NoParentElement" xml:space="preserve">
    <value>无法找到父元素 {0}</value>
  </data>
  <data name="Rating_CallbackError" xml:space="preserve">
    <value>发生未处理的异常状况:\r\n{0}</value>
  </data>
  <data name="ReorderList_DropWatcherBehavior_CallbackError" xml:space="preserve">
    <value>无法重新排列,请参考下面的说明:\r\n\r\n{0}</value>
  </data>
  <data name="ReorderList_DropWatcherBehavior_NoChild" xml:space="preserve">
    <value>无法找到 ID 为 {0} 的子清单</value>
  </data>
  <data name="ResizableControlBehavior_CannotChangeProperty" xml:space="preserve">
    <value>不支持对 {0} 的变更</value>
  </data>
  <data name="ResizableControlBehavior_InvalidHandler" xml:space="preserve">
    <value>{0} 处理例程不是函数、函数名称、或是函数文字</value>
  </data>
  <data name="Shared_BrowserSecurityPreventsPaste" xml:space="preserve">
    <value>您的浏览器安全性设定,不允许执行自动粘贴的操作。请改用键盘快捷键 Ctrl + V。</value>
  </data>
  <data name="Slider_NoSizeProvided" xml:space="preserve">
    <value>请在 Slider 的 CSS Class 中,设定高度与宽度属性的有效值</value>
  </data>
  <data name="Tabs_ActiveTabArgumentOutOfRange" xml:space="preserve">
    <value>参数不是索引标签 (Tab) 集合的成员</value>
  </data>
  <data name="Tabs_OwnerExpected" xml:space="preserve">
    <value>于初始化之前,必须设定拥有者</value>
  </data>
  <data name="Tabs_PropertySetAfterInitialization" xml:space="preserve">
    <value>于初始化之后,无法变更 {0}</value>
  </data>
  <data name="Tabs_PropertySetBeforeInitialization" xml:space="preserve">
    <value>于初始化之前,无法变更 {0}</value>
  </data>
  <data name="ValidatorCallout_DefaultErrorMessage" xml:space="preserve">
    <value>这个控件无效</value>
  </data>
</root>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Lou has been a software developer for more than 16 years now mostly working on database applications. He is a big fan of the .NET environment.

Comments and Discussions