redirect and target problem?

  • Thread starter Thread starter Cantekin Guneser
  • Start date Start date
C

Cantekin Guneser

in my project i am using framesets, at the left frame set notmally i am
using hiperlink element with target to redirect main frame this is ordinary,
but now i need to redirect main frame with dynamic text from dropdownlist
and textbox,
i tried like response.redirect("search.aspx?city="+ddl_city.selectedtext)
but with this i can not redirect the main frame it redirects left frame
again.
i want to manupulate main frame from left frame with querystring that
comes fram dropdownlists and text box

thanks in advance for any help or idea
 
Hi,

This has nothign to do with .NET , it's pure javascript, you need to do it
on the client, in the onClick event of the button that you are using put
something like window.top.location = "URL";

Cheers,
 
Back
Top