click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis M. J. Yerger" <dennisyerge...@hotmail.com>
Subject Creating Pages during Postbacks
Date Wed, 31 Oct 2012 19:31:33 GMT

Those of you who are familiar with Web applications know that a page is first requested with
a HTTP GET request. If this page contains a form, the form is normally submitted back to the
same address with a POST request. This type of request is called a postback. Postbacks usually
result in redirects to a new page. But here's the problem. When a Click page is requested,
it must construct its controls before processing the request. But if the request is a postback
that results in a redirect, the controls on the original page are never rendered, which means
they are created for nothing. So my question is this: is there a way to get around constructing
controls during a postback since they will never be rendered?
 		 	   		   		 	   		  
Mime
View raw message