redirect from code behind

redirect from code behind

Hi!

I have a code similar to the code in the example below:

http://www.aspxcode.net/free-asp-net-sample-source-code.aspx?Topics=How%20to%20use%20Response.Redirect

I want to get this to work in jQuery Mobile.

When I put the headers in the code it stops redirecting:

  1. <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
  2. <script type="text/javascript" src="http://code.jquery.com/jquery-1.5.min.js"></script> 
  3. <script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>  

The page shows, looks good, but dous not redirect. How can I get this to work?