databind to variables from request.quersting in aspx page (not code behind)

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

Hi,

I am I would like to display a value from the querstring collection in the
<title> tag of my web page.

I would like to do this in the aspx page and not the code behind.

I currently have this code in my aspx page

<title>
<%#Request.QueryString("Type") %>
</title>

however it does not work.

Is this possible?? and if so how would I do it.

many thanks in advance.

martin.
 
Try:

<%Response.Write(Request.QueryString("Type").ToString()); %>

-Demetri
 

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

Back
Top