Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Security
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00895834
Message ID:
00896348
Vues:
25
This message has been marked as a message which has helped to the initial question of the thread.
>Couple of questions :
>If my project has HTML and ASPX which i want to seperate do i have to chnage this pathing each time i want to rediect to antoher URL because it doesn't have a search hierarchy?

Generally you will need to specify at least the relative path for any web page below the application root. I did a search of the MM Framework, it looks like this is the only place where the response.redirect() is used and it just so happens that the path for userlogin.aspx is hardcoded. An easy workaround would be to just leave the userlogin files where they are at, but go ahead and put the rest of your aspx files in sub-directories as needed.

>Can I set this in the root APP.cs file or somewhere so it is common?
>If no, do i have to subclass the bas MM classes to get this?

A lot of people I know would said to just go ahead and sub-class all the MM classes (and then use your sub-class instead of using the MM classes directly). For now, you could go ahead and just sub-class mmBusinessWebPage and override RedirectToLogin().
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform