Appframe Knowledge Base


1 hits
0

Checking for multiple things in QueryString in one go

@QueryString.ContainsAll("x", "y", "z")
<!-- Returns whether or not all of the specified query parameters are supplied -->

@QueryString.ContainsIntegers("x", "y", "z")
<!-- Returns whether or not all of the specified query parameters are integers -->

@QueryString.ContainsDecimals("x", "y", "z")
<!-- Returns whether or not all of the specified query parameters are decimals -->

@QueryString.ContainsAlphanumerics("x", "y", "z")
<!-- Returns whether or not all of the specified query parameters are alphanumeric -->

@QueryString.ContainsLists("x", "y", "z")
<!-- Returns whether or not all of the specified query parameters are lists -->

razor web · Perma link post comment Posted by: Peter Øren (23-aug-2013)