It is, as the name implies, a redirect to a static url. If you want to take advantage of dynamic routing-rules, different extensions etc you need to use the other methods as Redirect(), RedirectToAction(), RedirectUsingRoute()
Kcube wrote: > Thanks, So with RedirectToUrl (with out controller , action) it wont > work with out extension. right? > > On May 22, 1:35 pm, Jimmy Shimizu <[email protected]> wrote: > >> Use Redirect("Login", "UserLogin") >> >> >> >> Kcube wrote: >> >>> Is it possible to use redirectToUrl with out using the extension >>> '.castle' >>> >>> What i have is this >>> RedirectToUrl("/Login/UserLogin.castle"); >>> >>> Can i achieve this , I just dont want to hardcode the '.castle' >>> extensin to code >>> RedirectToUrl("/Login/UserLogin");- Hide quoted text - >>> >> - Show quoted text - >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
