Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Request.Form View modes: 
User avatar
Member
Member
kevin.clark-gaprc - 3/21/2011 5:49:23 PM
   
Request.Form
Is there a helper class for Request.Form similar to QueryHelper for Request.Query string? I have a form that is submitting two values to another page. When I read the Request.Form values I get values like "plc$lt$zoneContent$pageplaceholder$pageplaceholder$lt$zoneLeft$usercontrol$userControlElem$txtZip" So I was hoping there was a helper to find "txtZip" in the Request.Form string and pull out my values.

Again, I'm a brand-newbie so any help would be greatly appreciated!

Thanks.

User avatar
Member
Member
kentico_michal - 3/25/2011 9:13:10 AM
   
RE:Request.Form
Hello Kevin,

Regrettably, Kentico CMS does not provide any helper for Request.Form collection. Yo can use UniqueID to get appropriate value:

HttpContext.Current.Request.Form[txtZip.UniqueID]

Best regards,
Michal Legen