D
Diego Jancic
Hi!,
I need to get the controls' information on a page, which are defined
inside the aspx.
I'll try to explain better my situation (sorry for my poor english):
I wrote a toolbar control that allows other developers to show
operations anywhere on a page. To use the control, we use something
like this:
<gda:Toolbar runat ="server" ID="toolbar">
<gda:Operation runat="server" ID="op1" Guid="0D973F3A-1881-49F4-
A70C-825D5B813F2A" />
<gda:Operation runat="server" ID="op2" Guid="3EF7A61A-6CC0-4CE4-
B4C4-F437ACFD3A14" />
<gda:Operation runat="server" ID="op3" Guid="2FAA0D00-69E4-4DFF-
B984-1FCCFEBA0244" />
</gda:Toolbar>
.... and, the hard part is when I need to create a permission manager
pages. I need to parse the page in background and read all the
operations defined in the .aspx file.
I already made the code to parse the page and get the type of the
page, but all the controls are uninitiallized!
The little source is this:
IHttpHandler handler = PageParser.GetCompiledPageInstance(virtualPath,
inputFile, Context);
handler.GetType().BaseType
Is there a way to do that?
Thanks in advance!,
Diego
-- If the post is incomprehensible please let me know ;-)
I need to get the controls' information on a page, which are defined
inside the aspx.
I'll try to explain better my situation (sorry for my poor english):
I wrote a toolbar control that allows other developers to show
operations anywhere on a page. To use the control, we use something
like this:
<gda:Toolbar runat ="server" ID="toolbar">
<gda:Operation runat="server" ID="op1" Guid="0D973F3A-1881-49F4-
A70C-825D5B813F2A" />
<gda:Operation runat="server" ID="op2" Guid="3EF7A61A-6CC0-4CE4-
B4C4-F437ACFD3A14" />
<gda:Operation runat="server" ID="op3" Guid="2FAA0D00-69E4-4DFF-
B984-1FCCFEBA0244" />
</gda:Toolbar>
.... and, the hard part is when I need to create a permission manager
pages. I need to parse the page in background and read all the
operations defined in the .aspx file.
I already made the code to parse the page and get the type of the
page, but all the controls are uninitiallized!
The little source is this:
IHttpHandler handler = PageParser.GetCompiledPageInstance(virtualPath,
inputFile, Context);
handler.GetType().BaseType
Is there a way to do that?
Thanks in advance!,
Diego
-- If the post is incomprehensible please let me know ;-)