|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
I'm making a website in asp.net and I have a little problem :d ,
I need to add a new window(page) if I press a button , but I can't open it This page also needs to be a content page of my masterpage .... can someone help me ? Thanks in advance |
|
#2
|
||||
|
||||
|
you need client side script invoked when the button is clicked.
to do that have such code: Code:
<asp:Button OnClientClick="window.open('Page2.aspx'); return false;" />
(the "return false" is needed to prevent form submission) |
|
#3
|
|||
|
|||
|
Is'nt that the same as " response.redirect "?
I want to make something like myspace but then a mini version to impress the jury at the end of the year . I want to make usres with the createUser control and if you create a user I want to generate a page for this person . SO this person can style and use his page for people to put comment on photos and share intrests and things like that .... If you know what I mean Thanks for helping By the way ![]() |
|
#4
|
||||
|
||||
|
Nope, Response.Redirect will take you from the page you are currently on to the page that you specify as a parameter via server-side.
The code that Shadow provided above will open a new window and open the specified page via client-side.
__________________
jmurrayhead Did I help you out? Make me popular by clicking the icon!New Members:Proper way to post a question Powered by ASP.Net |
|
#5
|
||||
|
||||
|
Quote:
of luck, if you need help or advice, we're here to help. ![]() |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP.Net/VB.Net - New page |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|