I think in a controller it is:
this.ControllerContext.RouteMatch.Parameters

On 27 nov, 20:33, Jan Limpens <[email protected]> wrote:
> Of course this must be because I have neither POST nor GET params - the
> params only come the routing match. The complete routing params are stored
> anywhere, where I can access them?
>
> 2009/11/27 Jan Limpens <[email protected]>
>
> > in
> >http://www.castleproject.org/monorail/gettingstarted/smartdispatcher....is 
> >an example of Params usage (or how it could be avoided actually).
> > Well in my case it would come in very handy to get params from some
> > Dictionary.
>
> > However if I try to get Params['myKey'], I get null, but when I put 'string
> > myKey' in the action methods signature, I receive a string. Looking at
> > Params I get the impression that is is not used anymore for this kind of
> > thing, the Forms dictionary is empty, too - so where did this little critter
> > come from? Not out of thin air - that's for sure.
>
> > Jan
>
> --
> Jan

--

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.


Reply via email to