PreviousPageType Directive

G

Giggi

Hi!
I have this problem:

Page1.aspx have different controls and public properties and a button
that cross posts to Page3.aspx. In Page3 I have the directive:
<%@ PreviousPageType virtualpath="~/Page1.aspx"%>
and I can access the public properties in Page1.
everything works fine.

Now I need Page2.aspx, wich is quite similiar to Page1, to cross post
to Page3.aspx. What directive do I need in Page3 in order to access the
public properties of the PreviousPage wichever it is? Is it possible to
set two virtualpath?

Thank you in advance!

Luigi
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top