I am trying to get values from masterpage.master to page2.aspx.
On page_load of the master page, a,b are assigned in a script written in vb. In the master page's form, there's a link to page2.aspx and I want those values to be sent to page2 when the link is clicked.
<a href="page2.aspx?a=3&b=2">page2</a> works but only with literal vals like 2 and 3. How can values assigned in the vb script be put in that expression?
To know I can get hold of those values to page2, I have a script that runs on page_load of page2 that says in it: response.write(request.querystring("a")).
1. How do I send a,b along with the url and get hold of them in a vb script that runs when page2 loads ?
2. How else can this be done ?
Thanks.
On page_load of the master page, a,b are assigned in a script written in vb. In the master page's form, there's a link to page2.aspx and I want those values to be sent to page2 when the link is clicked.
<a href="page2.aspx?a=3&b=2">page2</a> works but only with literal vals like 2 and 3. How can values assigned in the vb script be put in that expression?
To know I can get hold of those values to page2, I have a script that runs on page_load of page2 that says in it: response.write(request.querystring("a")).
1. How do I send a,b along with the url and get hold of them in a vb script that runs when page2 loads ?
2. How else can this be done ?
Thanks.