RE: Pass pagename in querystring

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

    RE: Pass pagename in querystring

    I think you can actually get this from the Request object. It might be in the
    ServerVariables collection.

    David
    --
    =============== =============== ========
    David McCarter [Microsoft MVP]

    David McCarter''''s .NET Coding Standards available at:



    "axapta" wrote:
    Hi Group,
    I have a generic aspx page where the data can be fed from one or two other
    pages. I want to be able to pass the pagenname of the page that calls the
    generic page as a string in the querystring object. How can I do this? Is
    it possible?
    >
    TIA
    >
  • axapta

    #2
    Re: Pass pagename in querystring

    Thanks David.
    At the moment I use this on the resulting page to pass values:
    me.txtSeqNo = request.queryst ring("seqno")

    on the page that sends the querystring object I do this:

    resultingpage.a spx & seqno = somevalue

    How can I use the request object to pass the page name using this syntax?
    What syntax should I use on the requested page?
    TIA


    "dotNetDave " <dotNetDave@dis cussions.micros oft.comwrote in message
    news:B1DE7652-C515-43F4-8E5D-19EF2B96B174@mi crosoft.com...
    >I think you can actually get this from the Request object. It might be in
    >the
    ServerVariables collection.
    >
    David
    --
    =============== =============== ========
    David McCarter [Microsoft MVP]

    David McCarter''''s .NET Coding Standards available at:

    >
    >
    "axapta" wrote:
    >
    >Hi Group,
    >I have a generic aspx page where the data can be fed from one or two
    >other
    >pages. I want to be able to pass the pagenname of the page that calls the
    >generic page as a string in the querystring object. How can I do this?
    >Is
    >it possible?
    >>
    >TIA
    >>

    Comment

    Working...