Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PopUP - Client Side Scripting Envoke in Server Side Cont
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01131870
Message ID:
01131891
Views:
16
This message has been marked as the solution to the initial question of the thread.
Hi Simplicio,
you can use response.write:
Response.Write("<script>javascript:window.open('download.aspx')</script>")
change the url as needed.
HTH
Franco

>Hi I want to envoke the java script "window.open()" in the server side command button. Do you have any Idea how to do this? I want to create a download page with a Query String parameter from Data Time picker.
>
>  this.btnDownload.OnClientClick="windows.open(download.aspx?FromDate=" + DatePicker.SelectedDate + ")"
>   // Something like this
>
>
>
>
>And I want to open a new page with Parameters every time the button was click. Server.redirect() is not suitable to my need. I believe Javascript Windows.Open() solves the issue except that I cannot get the property of the custom Control in ASP.NET server side.
>
>Thank you
>
>Simiplicio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform