Hi,
A question about the feature that automatically assigns an object ID to pages defined in the application context: how can you have multiple pages with the same base name in a web app?
I noticed that when I have a page:
<object type="~/Path1/ProcessData.aspx"> ... </object>
then it doesn't matter what URL I use to refer to this page, I can use any path as long as it ends with "/ProcessData.aspx". This means that I can't have another page object like this:
<object type="~/Path2/ProcessData.aspx"> ... </object>
because it has the same auto-ID as the first one, overwriting the registration of the first page. I tried specifying a distinct ID in both objects, but then it seems I have to use that ID to invoke the page as well, in which I could just as well name both pages differently in the first place.
Any suggestions?
Regards,
Edwin


Reply With Quote