Sunday, 15 May 2011

c# - Check from view if the action was rendered as partialview or view? -



c# - Check from view if the action was rendered as partialview or view? -

how can check if action rendered partialview or view? i'm using request.isajaxrequest() don't know if right way.

i think follwoing property improve request.isajaxrequest()

viewcontext.view.runviewstartpages

c# asp.net-mvc view

No comments:

Post a Comment