L
Larry Bud
What's the best way to only show a gridview on a postback? The reason
is that I have a simple search page with a couple of fields, and I
want those fields to be chosen before displaying every row of data.
The Gridview is displayed on the same page as the search fields.
I realize I can wrap the Gridview in a
<%if isPostback() then%>
....
<%end if%>
But as I transition from asp to asp.net, seems like putting code
inline is a thing of the past.
What's the best practice for this? Anyone have a good website that
shows some asp.net best practices>
is that I have a simple search page with a couple of fields, and I
want those fields to be chosen before displaying every row of data.
The Gridview is displayed on the same page as the search fields.
I realize I can wrap the Gridview in a
<%if isPostback() then%>
....
<%end if%>
But as I transition from asp to asp.net, seems like putting code
inline is a thing of the past.
What's the best practice for this? Anyone have a good website that
shows some asp.net best practices>