Re: Response.Redirect

Tech-Archive recommends: Fix windows errors by optimizing your registry




Thanks. I have the javascript that works in a menu control, but how would I
do that in the code behind (vb)? What I have is a button that gathers
search criteria (if any), then in page pre_render it calls the methods that
will search for data and return whether there is data, no data, or a certain
number of records. That is where I need to launch the results in a search
window if there is a certain number of records. How would I do that?

window.open('frmActiveRecords.aspx?idx=12345','_search')

"Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx> wrote in message
news:%23aeBIgfHGHA.1032@xxxxxxxxxxxxxxxxxxxxxxx
> You cannot. You have to emit the correct JavaScript so the browser will
> open a new window and navigate.
>
> "dew" <dew@xxxxxxxxx> wrote in message
> news:OqpMAUfHGHA.140@xxxxxxxxxxxxxxxxxxxxxxx
>> How can I do a response.Redirect and have it create a new window,
>> preferrably the _search as the target. Thank you for your help.
>>
>
>



.


Quantcast