<SilentPost>

New to Version 4.0! The SilentPost action tag will create an HTTP POST request and send it to the specified URL (Target) at run-time. This happens behind the scenes (i.e. silently) without user interaction.

Syntax

<SilentPost
 If="expression"
   Url="URL that should receive the POST request">

Optional 1 or more Field child tags that contain data to pass to the URL
  <Field Name="string" Value="string" />

</SilentPost>
 

Remarks

Back to top

Example

<AddForm>
<SilentPost Url="http://mysite.com/PostTest.aspx" If='[[P2=5]]'>
    <Field Name="param1" Value="1" />
    <Field Name="param2" Value='[[P2]]' />
  </SilentPost>

  <TextBox Id="txtParam2" DataField="P2" DataType="String"></TextBox><br />

  <AddButton Text="Add" /> &nbsp;<CancelButton Text="Cancel" />
</AddForm>

In the example above, we've setup a SilentPost that will send a POST request to http://mysite.com/PostTest.aspx. The request will incluce field called "param1" with a value of "1" and a field with a name of "param2" and a value that is pulled from the txtParam2 TextBox.

 

Back to top