Page directives dinamically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Sm9zZW1h?=

    #1

    Page directives dinamically

    Hi,

    Its possible to remove, (in execution time), one of the properties that i
    set in the page directive area?

    For instance, i have this directive:

    <%@ Page MasterPageFile= "~/Master/Calculator.mast er" IsClosed="25678 1"
    Language="C#" AutoEventWireup ="true" CodeBehind="Def ault.aspx.cs"
    Inherits="Porta l.Spain.TestPor tal.Default" %>

    And i would like to remove IsClosed in execution time (when the page goes to
    the server, from client).

    Its possible?
    Regards.
    Josema.
  • Ignacio Machin \( .NET/ C# MVP \)

    #2
    Re: Page directives dinamically

    Hi,

    "Josema" <Josema@discuss ions.microsoft. comwrote in message
    news:331510C3-FA53-4E4A-91DE-E84F7C7EEC11@mi crosoft.com...
    Hi,
    >
    Its possible to remove, (in execution time), one of the properties that i
    set in the page directive area?
    >
    For instance, i have this directive:
    >
    <%@ Page MasterPageFile= "~/Master/Calculator.mast er" IsClosed="25678 1"
    Language="C#" AutoEventWireup ="true" CodeBehind="Def ault.aspx.cs"
    Inherits="Porta l.Spain.TestPor tal.Default" %>
    >
    And i would like to remove IsClosed in execution time (when the page goes
    to
    the server, from client).
    I have never had this need, but I'm sure that IF they are accesible they are
    accesible as properties of the Page class.


    Comment

    Working...