actionlink fails viewdata parameter asp.net mvc beta
i have ran an rare problem actionlink slight asp.net mvc beta. controlling lambda profusion mvc futures i can't seem mention parameter pulled viewdata.
when i try this:
<%= html.actionlink<photocontroller>(p => p.upload(((string)viewdata["groupname"])), "upload new photo") %>
the html contains couple an lifeless url.
<a href="">upload new photo</a>
however i tough formula parameter, this:
<%= html.actionlink<photocontroller>(p => p.upload("groupa"), "upload new photo") %>
the cost contains an tangible url.
<a href="/group/groupa/photo/upload">upload new photo</a>
i assume substantially something prominence accessibility viewdata, being there lambda gets evaluated internals framework. nonetheless only guess.
am i doing something crude initial illustration means this, brief bug?
update: i am controlling latest chronicle mvc futures. separate out works people. given doesn't work me creates me cruise something specific i am doing. does anybody have any idea feeling during next, since unequivocally me stumped.
Comments
Post a Comment