| re: Passing information to a new window in .NET
<vinojairath@gmail.com> wrote in message
news:1116247818.371276.114700@g14g2000cwa.googlegr oups.com...[color=blue]
>
>I have a my.aspx page containing fields that have been manually
>populated (e.g. a textbox). With a click of a button I want another
>my.apsx window to open populated with the same information.
>
>I found the following Javascript to open a new window:
>
> <script type="text/javascript">
> function openwindow(ipt)
> {
>
>window.open(ipt,"new_window","*>toolbar=no,locati on=no,directories=no,status=no,menubar=no,scrollba rs=yes,resizable=yes,copyhistory=yes,width=400,hei ght=400,top=0,eft=0");
>
> }
> </script>
>
> onclick="javascript:openwindow('my.aspx')"
>
>But I do I pass the information from one page to the other?[/color]
Is there a particular reason for doing this in JavaScript, when you could do
it completely from the aspx?
Are you using VB or C#? |