Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redirect to another page
Message
De
27/06/2007 08:24:57
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
27/06/2007 03:55:09
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01234554
Message ID:
01235966
Vues:
10
Web programming is a completely different beast from Windows programming - some stuff that might seem evident to you might be completely foreign to other developers.

>Obviously, one needs some basic understanding of client and server concepts. Link targets, frames and windows are purely client terms, whilst Request and Response (along with Server and Session) are server object and as such have no grasp or control over client enviroment. As far as server objects are concerned, client can just as easily be windows, web, mobile device or any other.
>
>Bearing this in mind, the only plausible solution would be to dynamically generate client-side JavaScript code to perform desired link targeting.
>
>In truth, I am somewhat puzzled by how many questions of this sort come from developers.
>
>>In my asp.net webform, I have a button that when clicked, will redirect the user to a different page. Here is my button's Click():
>>
>>Response.Redirect("mypage.htm")
>>
>>The above works, but how can I redirect to a new page as in target="_blank"?
>>
>>Thanks,
>>
>>Jerry
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform