You can calculate the visibility of a server-side object in runtime using an expression that checks a query string parameter.
In this example, we change the style of a grid.
Visible=' <%$ sq:{ iif(rt.httprequest["IsNewItem"]="true",True ,False)} %> '
NOTE: You cannot add anything before or after the expression inside the Visibility=[yourexpression]
section.