StyleSheetRefUrlEditor.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / StyleSheetRefUrlEditor.cs / 1305376 / StyleSheetRefUrlEditor.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

using System.Web.UI.Design; 
 
namespace System.Web.UI.Design.MobileControls
{ 
    /// 
    ///   Provides an editor for visually picking an ASCX Url.
    /// 
    [ 
        System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand,
        Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 
    ] 
    [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
    internal class StyleSheetRefUrlEditor: UrlEditor 
    {
        /// 
        ///    Caption of the editor UI
        ///  
        protected override String Caption
        { 
            get 
            {
                return SR.GetString(SR.StyleSheetRefUrlEditor_Caption); 
            }
        }

        ///  
        ///    Filter used by the editor
        ///  
        protected override String Filter 
        {
            get 
            {
                return SR.GetString(SR.StyleSheetRefUrlEditor_Filter);
            }
        } 

        ///  
        ///   NoAbsolute = Don't allow absoulte urls. 
        ///   None = Otherwise.
        ///  
        protected override UrlBuilderOptions Options
        {
            get
            { 
                return UrlBuilderOptions.NoAbsolute;
            } 
        } 
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

using System.Web.UI.Design; 
 
namespace System.Web.UI.Design.MobileControls
{ 
    /// 
    ///   Provides an editor for visually picking an ASCX Url.
    /// 
    [ 
        System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand,
        Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) 
    ] 
    [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
    internal class StyleSheetRefUrlEditor: UrlEditor 
    {
        /// 
        ///    Caption of the editor UI
        ///  
        protected override String Caption
        { 
            get 
            {
                return SR.GetString(SR.StyleSheetRefUrlEditor_Caption); 
            }
        }

        ///  
        ///    Filter used by the editor
        ///  
        protected override String Filter 
        {
            get 
            {
                return SR.GetString(SR.StyleSheetRefUrlEditor_Filter);
            }
        } 

        ///  
        ///   NoAbsolute = Don't allow absoulte urls. 
        ///   None = Otherwise.
        ///  
        protected override UrlBuilderOptions Options
        {
            get
            { 
                return UrlBuilderOptions.NoAbsolute;
            } 
        } 
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK