Jump to content

Itai16

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Itai16

  • Rank
    Newbie
  1. ASP Response.redirect

    Ok thanks the regular expression replace did what I wanted.
  2. ASP Response.redirect

    ok thanks. and do you know what should i do to erase any spaces used in text input?
  3. ASP Response.redirect

    I think it still stays. Do you know what should I change in the code?
  4. ASP Response.redirect

    I have tried to add a search bar to my own website that will send the user to another page in my project, the value in the search box will send the user to the page. Main.aspx: //The main page <form id=search1 method=get action=search.aspx> <input type=text name=search id=search placeholder="Search Here" /> <button type=submit name=search id=go>Search</button> </form> Search.aspx.cs: //The page that will deal with the search info string sea = Request["search"]; Response.Redirect(sea+(".aspx")); As an example, there is a page called "2016" and writing it in the text box followed by submitting the form will send the user to the page 2016.aspx but the address bar says: localhost:8525//2016,.aspx Why is there a comma there? Do i have to change something with my code?
×