I am trying to pass a parameter from one script to another but it doens't seemt to be working. This is my test code. In one script I just have this line
When I include the second script in my template I don't get any output. I have read this article and assume using Page will still work even though I am passing from the inner script to the outer one and not the other way the article shows.
Is this not the case. If not how can I pass a variable from a script to the script that called it.
passing parameters between scripts
I am trying to pass a parameter from one script to another but it doens't seemt to be working. This is my test code. In one script I just have this line
And the other script is
When I include the second script in my template I don't get any output. I have read this article and assume using Page will still work even though I am passing from the inner script to the outer one and not the other way the article shows.
Is this not the case. If not how can I pass a variable from a script to the script that called it.
Hi,
Try to use @ViewBag
Been a while since I got back working on this. That gives me a The name 'ViewBag' does not exist in the current context error.
is working on a reply...