Page directives dinamically

G

Guest

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.master" IsClosed="256781"
Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
Inherits="Portal.Spain.TestPortal.Default" %>

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

Its possible?
Regards.
Josema.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

Josema said:
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.master" IsClosed="256781"
Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
Inherits="Portal.Spain.TestPortal.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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top