Sorry, it is Request.Form (HttpRequest, not sure about IRequest)./

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig Neuwirt
Sent: Wednesday, June 07, 2006 11:48 PM
To: [email protected]
Subject: Re: [Castle-users] Detecting postbacks in controllers using WebForm Views

 

Is that on the IRequest or HttpRequest? I don't see it on either

On 6/7/06, Ayende Rahien <[EMAIL PROTECTED]> wrote:

Checking Request.Post comes to mind, doesn't it?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Craig Neuwirt
Sent: Tuesday, June 06, 2006 8:18 PM
To: [email protected]
Subject: [Castle-users] Detecting postbacks in controllers using WebForm Views

 

For those Castle users that use WebForm views, has anyone come up with a strategy to enable a Controller to determine if a PostBack has occurred.  Since WebForms post to the same url, the original controller action will be called and it would be nice to know if it is a PostBack so the controller can do nothing and let the view process the postback.  The view will then delegate back into the controller in the event handler.

 

thanks,

  craig




_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

 

_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users

Reply via email to