I don't think that you understand what I'm trying to said.
I know that don't exist any CreateWnd (...) function in javascript. This
function it is mine and it's included in my .JS file that I talk in previous
e-mail.
Now.... what I want to know it's if there is anyway to call one function of
javasrcipt in my code source and not in HTML source.
Hope this helps you to understant what I mean.
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
"bruce barker" <nospam_brubar@safeco.com> escreveu na mensagem
news:%23liYGS1EEHA.2976@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view] > no, for several reasons.
>
> 1) there is no CreateWnd function in javascript, you might want to look at
> window.open().
> 2) using the redirect would leave the current window displaying [object]
> 3) while you could code it:
>
> <script>window.open('somefile.aspx','_blank');</script>
>
> which you can find examples on this newsgroup, I don't recommend it
because
> pop blockers, including the next security release for IE will prevent it
> from working.
>
>
> popup windows should only be opened by client script while inside a
onclick
> event.
>
>
> -- bruce (sqlwork.com)
>
>
>
> "ruca" <ruuca@iol.pt> wrote in message
> news:Okb98SyEEHA.1544@TK2MSFTNGP11.phx.gbl...
> > I have a .JS file that opens a popup window.
> >
> >
> > Here is the question...
> >
> > I have a DataGrid with a select command that in this case, when I choose
> > "Select", I want to open my popup window.
> > The question is if I can do something like this in the function that is
> the
> > target of select command of datagrid:
> >
> > Response.Redirect("javascript:CreateWnd('somefile.aspx', 600, 200,
> false);")
> >
> > Or what is the solution for that?
> >
> >
> > --
> > Programming ASP.NET with VB.NET
> > Thank's (if you try to help me)
> > Hope this help you (if I try to help you)
> > ruca
> >
> >
> >
>
>